How to Get Value from Selected Item in Listview
I am struggling before on how to get value from selected item in a listview.
As you've seen in my Hotel Reservation System (VB.NET Version) I use the following code to get the value from a Listview.
- Dim FolioNumber As String
- For Each sItem As ListViewItem In lvList.SelectedItems
- FolioNumber = sItem.Text
- Next