I have a text box txtSearch
I want the lstUsers goto the appropriate item as I enter the username into the txtSearch.
I dont want to have to enter the whole user name
just the first few chars.
How do i go about doing this
db
Printable View
I have a text box txtSearch
I want the lstUsers goto the appropriate item as I enter the username into the txtSearch.
I dont want to have to enter the whole user name
just the first few chars.
How do i go about doing this
db
Dim strSearch As String
strSearch = txtSearch.Text
If lstUsers.FindString(strSearch) <> -1 Then lstUsers.SelectedItem = lstUsers.Items.Item(lstUsers.FindString(strSearch))
there it is