i want to add asp checklist value in array
for (int i = 0; i < CheckBoxList1.Items.Count; i++)
{
if (CheckBoxList1.Items[i].Selected)
cb += CheckBoxList1.Items[i].Text.ToString() + ",";
}
for (int i = 0; i < CheckBoxList2.Items.Count; i++)
{
if (CheckBoxList2.Items[i].Selected)
cb2 += CheckBoxList2.Items[i].Text.ToString() + ",";
i have differnt string value in check list i want store them
Sreekanth ReddyPosted Oct 31, 2018, 7:38 AM