Solved

asp / vb .net checkedboxlist

Posted on 2008-06-09
1
223 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

840 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