Click here to Skip to main content
12,403,948 members (69,462 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
I want to get checked index number of List item using vb.net
How i can get index number of checked item not selected i have code for get index number of selected item that is
MsgBox(ListView1.FocusedItem.Index)

But i want to index number of checked item not selected.
Posted 6-Jan-13 1:08am
vast25679
Comments
Sandeep Mewara 6-Jan-13 7:54am
   
o index number of checked item not selected.
Checked item in listView? Which control you are using? ASP.NET?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can iterate over all the items with foreach and work out which ones are checked from there.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100