Hi guys i need a help. I have a checkboxlist and a related table. Now once user registers for the first time, he will be checking items of the checkboxlist and i want those items to be checked when the user logs in again.
Hope i am clear.I have written the code below but its not working. It was just a try. So pl help me.
SqlDataReader drr = command.ExecuteReader();
ListItem li = chkCat.Items.FindByText(drr.ToString());
if (li != null)
li.Selected = true;
'li' is always showing null. I feel its a small correction but not able to get where..pl help.