Just iterate through the items and test them. Here's some code:
Private Sub Button1_Click _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles Button1.Click
Dim itm As ListItem
For Each itm In CheckBoxList1.Items
If itm.Selected = True Then
Response.Write(itm.Value & "<br>")
End If
Next
End Sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.