search name in list box from textbox.text
list boxsearch name in list box from textbox.text
Page 1 of 1
2 Replies - 1192 Views - Last Post: 27 December 2009 - 06:53 AM
Replies To: list box
#2
Re: list box
Posted 27 December 2009 - 06:08 AM
You could use a ForEach loop to iterate through the items in the ListBox and compare them with the value from the TextBox. When it is found, break the loop and notify the user.
#3
Re: list box
Posted 27 December 2009 - 06:53 AM
FindString and FindStringExact will return the index of
You can then select that item by the index number
dim x as integer = listbox1.findstringexact(Textbox1.Text,0)
You can then select that item by the index number
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|