I have 10 che开发者_JAVA百科ck 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
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
精彩评论