Previous Topic

Next Topic

How You Load the Email Address Combo Box Control

The Email Address combo box can assume two styles depending on the mode of the form.

When adding a new profile, the email address is entered as text in the Email Address control.

When modifying an existing profile, the Email Address becomes a combo box list control where the list of addresses is retrieved from the user_profile table.

To load the Email Address combo box control:

  1. Add an IngresDataAdapter control to the form. See Add an IngresDataAdapter Control.

    Note: In this example, ingresDataAdapter6 is used for accessing the Ingres database.

  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.