0

I have 10 check boxes populated using repeater

I want to grab all check boxes values which are checked on asp.net button click event in c#

Thank you very much for your help

manu
  • 3
  • 2

1 Answers1

0

puesdo codeish

checkedBoxes as new list(of checkbox)

for each item as repeater in repeater.items

 checkbox = (CheckBox)item.findcontrol("checkboxid")

 if checkbox.checked
  checkedBoxes.add(checkbox)
 end if

end for
asawyer
  • 17,642
  • 8
  • 59
  • 87