0

Hi! I'm new in vb.net..
I want to make an auto search textbox without using any button
and will display the data after inputting the ID on the textbox..

does anyone know how to do this??

3
Contributors
2
Replies
24
Views
3 Months
Discussion Span
Last Post by JamesCherrill
0

How do you want this to work? Your brief description leaves several possibilities. No point in suggesting the ones you don't want. For example, you could have a textbox with a text changed event handler that automatically populates a listbox based on what you type as you type it. This may or may not work depending on the dataset you are getting the matches from. It could be a database and if it is large and you can't use the index, the results may take too long to filter.

You say "display the data after inputting the ID" which does not imply auto-search but you don't want a button which sort of does imply auto-search.

You might even get away with a drop down combo box.

More detail means a better answer.

Edited by Reverend Jim

0

Does the ID have a known fixed length? If so you can have a text changed event listener that ignores text less than the necessary length, and starts the search as soon as the text length is right.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.