Quick ListView Question

Joined
Aug 3, 2002
Messages
19
Hey All,

How is it that i get the data from the first columns from a listview when i click on it... as in... can you help me out with the syntax for that.

ClientID = SearchList.SelectedItems(i). ?

Thanks
 
Code:
    Private Sub ListView1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.Click
        Dim ClientID As String = ListView1.SelectedItems(0).Text
        MessageBox.Show(ClientID)
    End Sub
 
Back
Top