can any one help me to run out of problem.
am using checkboslist control in which after checking the check boxes am saving in DB like (checkboxvalue,checkboxvalue.........)
ex:(1,2,3,)
when am trying to retrive from dataBase
am seperating from ',' and moving round in for loop
Ex
for (int i = 0; i < GroupCodes.Length; i++)
{
if (GroupCodes.Substring(i,1) != ",")
{
GroupTypeChkBxLst.SelectedValue = GroupCodes.Substring(i, 1);
}
}
by using this last value is getting selected, all other previous values get unchecking