Created
November 10, 2013 19:26
-
-
Save crismogram/7402656 to your computer and use it in GitHub Desktop.
a loop over the collection of items.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (ListItem item in CheckBoxList1.Items) | |
{ | |
if (item.Selected == true) | |
{ | |
Label1.Text += "In the CBL you selected " + item.Value + "<br />"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment