Solved

asp / vb .net checkedboxlist

Posted on 2008-06-09
1
224 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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 …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.

685 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