Friday, May 13, 2011

Determine the selected Item in Listview

Dim selectedItem As ListViewItem
If ListView1.SelectedItems.Count > 0 Then
    selectedItem = ListView1.SelectedItems(0)
Else
    selectedItem = Nothing
End If

No comments:

Post a Comment

There was an error in this gadget