protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e) { string a = string.Empty; foreach (ListItem li in CheckBoxList1.Items) { if (li.Selected == true) { a += li.ToString() + ","; ...