Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 28, 2011 02:51 PM by DarrellNorton
Member
139 Points
190 Posts
Nov 28, 2011 02:48 PM|LINK
In Visual Basic, if you have a checkboxlist item, what code do you write to see the number of checked items? what code do you write to iterate through the checked items?
All-Star
86645 Points
9629 Posts
Moderator
MVP
Nov 28, 2011 02:51 PM|LINK
for (int i=0; i<checkboxlist1.Items.Count; i++) { if (checkboxlist1.Items[i].Selected) { //increment your counter here } }
Bushwick
Member
139 Points
190 Posts
Going through all checked list items and getting the number of checked list items in a CheckBoxLi...
Nov 28, 2011 02:48 PM|LINK
In Visual Basic, if you have a checkboxlist item, what code do you write to see the number of checked items? what code do you write to iterate through the checked items?
DarrellNorto...
All-Star
86645 Points
9629 Posts
Moderator
MVP
Re: Going through all checked list items and getting the number of checked list items in a CheckB...
Nov 28, 2011 02:51 PM|LINK
Darrell Norton's Blog
Please click "Mark as Answer" if this helped you.