How to use the select item of listview?
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
Hi! I don't know if you're using multiselect or not but if you are not then you can only have one element selected so, you obtain the item by doing MyListView.SelectedItems(0) If you have multiselect = True then you can do this: Dim MyListViewColl As SelectedListViewItemCollection = MyListView.SelectedItems Dim MyListViewItem As ListViewItem For Each MyListViewItem In MyListViewColl (...) 'do whatever you want with the object Next Never say never