Posted on: 3/5/2014 9:52:17 PM | Views : 629

Hi ,
How to show checkboxlist with checked  values which are  saved in database.
ex:
chexkboxlistnames:  tom   rhyms  nick  john.below code another checkbox with saved  values but not showing  with checked  in particular name
foreach (DataRow dr in ds.Tables[0].Rows) { ddl_Projects.SelectedItem.Text = dr["ProjectName"].ToString(); // ddl_assignes.SelectedItem.Text = dr["Assign"].ToString(); //CheckBoxList1.DataValueField = dr["Assign"].ToString(); // CheckBoxList1.Text = dr[1].ToString(); ListItem item = new ListItem(); item.Text = dr["Assign"].ToString(); CheckBoxList1.Items.Add(item); ddl_status.SelectedItem.Text = dr["Status"].ToString();in table output T ...

Go to the complete details ...