Solved

asp / vb .net checkedboxlist

Posted on 2008-06-09
1
219 Views
Last Modified: 2012-08-14
in a web app how would i loop through all values and determine if they are checked or not?
0
Comment
Question by:jimseiwert
1 Comment
 
LVL 48

Accepted Solution

by:
jpaulino earned 250 total points
ID: 21747022
Hi jimseiwert,

You can do something like this:
         For Each cb As ListItem In CheckBoxList1.Items
            If cb.Selected Then
               ' Checked item : cb.Value               
            End If
        Next

Open in new window

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now