thanks for idea,
but i am not getting my checkbox list preselect
Code:
while (dr.Read())
{
ListItem currentcheckbox = (ListItem)CheckBoxList1.Items.FindByValue(dr["catId"].ToString());
if (currentcheckbox != null)
{
currentcheckbox.Selected = true;
}
while there is value in dr but list item is always null