|
-
Aug 22nd, 2005, 03:14 AM
#1
Thread Starter
New Member
CheckBox array
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!!
-
Aug 22nd, 2005, 03:58 AM
#2
Addicted Member
Re: CheckBox array
Use a checkbox list and loop through each one checking if it is checked or not...
-
Aug 22nd, 2005, 04:02 AM
#3
Thread Starter
New Member
Re: CheckBox array
Thanks for answering, Patch21
But how do i solve the problems if i must need to use CheckBox.
-
Aug 23rd, 2005, 03:42 AM
#4
Frenzied Member
Re: CheckBox array
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
If I have been helpful please rate my post. If I haven't tell me!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|