Question : vb.net selected item from listview

hello there..
how can I check in vb.net if the listview has a selected item..
this is how I check using vb6
Code Snippet:
1:
2:
3:
If listview1.ListItems.Selected = True Then
 
end if

Answer : vb.net selected item from listview

You can also use this

 If ListView1.SelectedItems.Count > 0 Then
      MessageBox.Show(ListView1.SelectedItems.Count)
End If
Random Solutions  
 
programming4us programming4us