user5447
user5447

Reputation: 21

how to display matching set of values in combobox when text is entered in combobox?

I am using combobox (c# windows forms) to display the set of matching values from database on combobox, when user enters some text in combobox. I am not getting exact idea to write the code.

Any help is really appreciated..

Upvotes: 1

Views: 973

Answers (2)

fjdumont
fjdumont

Reputation: 1537

A ComboBox already has an autocomplete feature. Have a look at these properties on MSDN:

AutocompleteMode and AutocompleteSource.

Upvotes: 2

Daniel Powell
Daniel Powell

Reputation: 8293

If you are willing to pay Telerik has some controls with this functionality built-in

EDIT: it seems that the normal combo box also supports this

This also shows a quick example

Upvotes: 1

Related Questions