As you know by question that what I want. I was using listbox. In ListBox we can get selected item by a simple line of code: listbox1.SelectedItem. Now I am using ListView, how I get the SelectedItem or SelectedIndex of ListView.
ListBox
listbox1.SelectedItem
ListView
SelectedItem
SelectedIndex
Here's the answer that I found for my question:
urlList1.FocusedItem.Index
And I am getting selected item value by:
urlList1.Items(urlList1.FocusedItem.Index).SubItems(0).Text
1.4m articles
1.4m replys
5 comments
57.0k users