Picklist code sample

  • Thread starter Thread starter Andrus
  • Start date Start date
A

Andrus

I'm creating Winforms application.

User enters first characters of customer name to Combobox in DataGridView or
in form.
I need to present list of matcing customer names and allow user to select
one customer.

This can be done in several ways:

1. Fill AutoComplete Custom source, and allow user to select from this.
2. Fill combobox Datasource, open combobox dropdown menu so user can select
from it.
3. Display form containing ListBox or Grid with customer names.

Which is the best way ?
Where to find such code sample which does not use p/invoke calls ?

Andrus.
 
Why not use a ComboBox with autocomplete capabilities AND a dropdown menu?

There's a great example of this in Brian Noyes' Data Binding book.

RobinS.
 
Back
Top