Dear all,
i want to make about 100 checkbox in the aspx page. so, how can i check which checkbox is checked? i think it is impossible to use
if checkbox1.checked = True .........
Please Help, Thanks!!
Printable View
Dear all,
i want to make about 100 checkbox in the aspx page. so, how can i check which checkbox is checked? i think it is impossible to use
if checkbox1.checked = True .........
Please Help, Thanks!!
Use a checkbox list and loop through each one checking if it is checked or not...
Thanks for answering, Patch21
But how do i solve the problems if i must need to use CheckBox.
It is possible to loop through the controls collection for the page looking for all CheckBoxes but to be honest using a CheckBoxList is a better idea - why can't you use it?
DJ