InsertCommand property

Description

An AseCommand that is executed against the database when an Update() is called that adds rows to the database to correspond to rows that were inserted in the DataSet.

Syntax

AseCommand InsertCommand

Access

Read-write

Usage

When InsertCommand is assigned to an existing AseCommand object, the AseCommand is not cloned. The InsertCommand maintains a reference to the existing AseCommand.

If this command returns rows, the rows can be added to the DataSet depending on how you set the UpdatedRowSource property of the AseCommand object.

See also

“Update method”, “Inserting, updating, and deleting rows using the AseCommand object”, and “Inserting, updating, and deleting rows using the AseDataAdapter object”.