Load dynamic data into comboBox based on input in ComboBox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What I would like to do is

In a win form, I have a comboBox, when the form is loaded, I don't want to populate the comboBox(I have a lot of data). Instead, I want the user to type in the first few letters of the search criteria, then I capture it and run the search and return the result back and load the comboBox dropdown at that time

Any suggestion on how to do that? Is there a already written control out there that I can purchase?
 
H

Use the Text property of the Combo to do the search. Once you get the result, which must be an object that implements the IList interface, set the result as the Datasource of the ComboBox.

Regard

Soora
Microsoft India Community Sta
 
Back
Top