Guys, i have problem in my search button after i search the name it didn't highlight the name of the person.
this is the code that i found on the internet.
Dim searchName As New TextBox
Dim sname As String
sname = InputBox("Search for gym user." & searchName.Text)
Dim foundItem As ListViewItem = _
ListView1.FindItemWithText(searchName.Text, True, 1, True)
'ListView1.Focus()
If foundItem IsNot Nothing Then
ListView1.MultiSelect = False
ListView1.TopItem = foundItem
foundItem.Selected = True
End If