How to I Iterator through a CheckBoxList?

  • Thread starter Thread starter Micheal
  • Start date Start date
Hi Micheal,

Here's one way:

foreach (System.Web.UI.WebControls.ListItem tempListBox in
CheckBoxList1.Items)
{
//Do something interesting with tempListBox each time
}


Good luck!
 
Back
Top