Fill combobox from a select query

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

How do I fill a combobox from a select query returning a list of names. I'd
also like to refresh this list when an action (LIke adding a new value to
the list occurs.
 
Hi,

Are you talking about winforms?
You should create an adapter with select command and a dataset (strong typed
perhaps) and use its Fill method to fill the dataset whenever you want.
Attach the dataset to combo box...
 
Back
Top