Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to loop thru multiple rows selected in a listView? 1

Status
Not open for further replies.

steve728

Programmer
Mar 16, 2003
536
US
Will someone please provide me a sample of code that will show me how to loop through multiple row selections made within a listview?

Thanks in advance,

Steve728
 
Code:
For Each itm As ListViewItem in ListView1.SelectedItems
    MessageBox.Show(itm.Text)
Next
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top