InsertCommand Property

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.

Related concepts
Insert, Update, and Delete Rows Using the AseDataAdapter Object
Related tasks
Inserting, Updating, and Deleting Rows using the AseCommand Object
Related reference
Update Method