Hi,
How do I show my Dataset results in checbox list and that too displaying checked checkboxes.
Ds will be multiple rows.
DS will have two column Firstname that will go to Textbox and CityId that will go checkbox list as checked.
The Firstname values will repeat as per number of rows that ds will generate.
My Code
BindCheckboxlist();
DataSet ds = BusinessClass.GetDetailes(Convert.ToInt32(grdview.SelectedDataKey.Value));
txtFirstName.text = ds.Tables[0].Rows[0]["FirstName"];
How to use for or foreach loop for checkbox list.