Picklist code sample

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.
 
R

RobinS

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top