I am using ASP.NET with C# and facing below problem. I am not able to get values of selected checkboxes which are generated dynamically.
Pls have a look at the image attached with the message...
for each cControl in pn1.Controls
If TypeOf cControl Is CheckBox Then
dim cbox as CheckBox = Ctype(cControl, CheckBox)
if cbox.Checked = True Then
Response.Write(c.Text)
end if
End If
next cControl