Share via


CursorAdapter Builder

The CursorAdapter Builder makes it possible for you to build CursorAdapter objects more quickly. You can open the CursorAdapter Builder from the Form Designer or Class Designer.

To open the CursorAdapter Builder from the Form Designer

  1. Create a new form or open an existing form.

  2. In the Form Designer, right-click the form, and click DataEnvironment.

    For a form with an empty DataEnvironment object, the Open dialog box appears.

  3. In the Open dialog box, click Cancel.

  4. Right-click the Data Environment surface, and click Builder.

  5. In the DataEnvironment Builder, click the Cursors tab to make it visible.

  6. To create a new CursorAdapter object, click New.

You can now set properties for the CursorAdapter object you created, add a CursorAdapter object from a class library, or edit an existing CursorAdapter object.

You can also open the CursorAdapter Builder from a form by right-clicking an existing CursorAdapter object in the form's Data Environment and clicking Builder.

To open the CursorAdapter Builder from the Class Designer

  1. In the Class Designer, create a new CursorAdapter class or open an existing CursorAdapter class.

  2. Right-click the new or existing CursorAdapter class and select Builder.

Builder Tabs

  • Properties
    Specifies the properties of the CursorAdapter object.
  • Data Access
    Specifies how the CursorAdapter object retrieves data from the data source.
  • Auto-Update
    Specifies how the CursorAdapter object updates records automatically in the data source.

See Also

Reference

CursorAdapter Class
DataEnvironment Builder
Form Designer

Concepts

Class Designer

Other Resources

Builders