Hi,
You need to store the CheckBoxList value in array or jason and then set the checkbox list based on that array since its not a single value, its a set of values which checkboxlist uses. Here is example
List<string> YrStrList = new List<string>();
foreach (ListItem item in YrChkBox.Items)
{
if (item.Selected)
{
YrStrList.Add(item.Value);
}
else
{
}
}
String YrStr = String.Join(";", YrStrList.ToArray());</string></string>