ForEach on ListItem

12 October 2009

foreach (ListItem li in CheckBoxList1.Items) {
if (li.Selected == true) {
Label1.Text += li + ” “;
}
}

Follow

Get every new post delivered to your Inbox.