Hi
i want when no item selected after Submit show this message "Nothing Selected" what should i do ?
Thanks
Protected Sub Btnsub_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Btnsub.Click
lblresult.Text = "You Chose:<br/>"
Dim Lstitems As ListItem
For Each Lstitems In CheckBoxList1.Items
If Lstitems.Selected Then
lblresult.Text &= "<br/>" & Lstitems.Text & "<br/>"
End If
Next
End Sub