ASP.NET 4 General DiscussionFor ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
i want when no item selected after Submit show this message "Nothing Selected" what should i do ?
Protected Sub Btnsub_Click(ByVal sender As Object, ByVal e As
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/>"