Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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
vast25479
Comments
Sandeep Mewara at 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
0 OriginalGriff 254
1 Nirav Prabtani 223
2 Sergey Alexandrovich Kryukov 209
3 _Amy 165
4 Richard MacCutchan 135
0 OriginalGriff 7,799
1 Sergey Alexandrovich Kryukov 6,966
2 Maciej Los 3,994
3 Peter Leow 3,708
4 CHill60 2,742


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2014
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