asp.net - Parse aspx page for Checkbox inputs via the C# Codebehind -
I am trying to parse the HTML side of the ASPX page with the following C # code.
Basically I have more than one checkboxes whose names are like this:
The XX with qlcbXX is an item ID extracted from a database.
What I would like to do
A) Paste the link Selection for all checkbox inputs
b) Determine whether they are checked
c) If you add a list that is called keepList and addlistist then addlistList
Any ideas?
thanks
-Seth
It seems that this will work: Zero IterateControls (Control Parents) {foreach (control C. control in parent) {if (C is the checkbox) {keepList.Add (c); } And {removeList.Add (c); } If (c.Controls.Count> 0) {EertratHugh Hair (C); }}}
Comments
Post a Comment