Syntax Error:[
^]
try this code..
protected void Button1_Click(object sender, EventArgs e)
{
string c = string.Empty;
for (int i = 0; i < CheckBoxlist1.Items.Count; i++)
{
if (CheckBoxlist1.Items[i].Selected)
{
c += CheckBoxlist1.Items[i].Value + "-->" + CheckBoxlist1.Items[i].Text + "<br/>";
}
}
}