How do I sort what information is being assigned to the data view using RadioButtons?
private void btnSearchByGender_Click(object sender, EventArgs e)
{
DataView data = new DataView(pID2dbDataSet.customer);
data.RowFilter = "Gender=" + rdoMale.Select();
customerDataGridView.DataSource = data;
}
So far I’ve got this but I’m not sure how to select what radio button does.
1 Answer