Previous Topic

Next Topic

How You Load the Region Combo Box Control

When the user selects a different country, the event handler countryComboBox_SelectedIndexChanged is invoked. The selected value from the Country combo box is used to retrieve the list of regions in the country. The results of this query are bound to the Region combo box, and then displayed.

To load the Region combo box control:

  1. Add an IngresDataAdapter control to the form. See Add an IngresDataAdapter Control.
  2. Construct the query.
  3. Generate a DataSet.
  4. Bind the combo box control to the DataSet.
  5. Populate the DataSet.


© 2006 Ingres Corporation. All rights reserved.