DbDataAdapter.IDbDataAdapter.InsertCommand Property


Gets or sets an SQL statement used to insert new records into the data source.

property System::Data::IDbCommand ^ System::Data::IDbDataAdapter::InsertCommand { System::Data::IDbCommand ^ get(); void set(System::Data::IDbCommand ^ value); };
System.Data.IDbCommand? System.Data.IDbDataAdapter.InsertCommand { get; set; }
System.Data.IDbCommand System.Data.IDbDataAdapter.InsertCommand { get; set; }
member this.System.Data.IDbDataAdapter.InsertCommand : System.Data.IDbCommand with get, set
 Property InsertCommand As IDbCommand Implements IDbDataAdapter.InsertCommand

Property Value


An IDbCommand used during Update(DataSet) to insert records in the data source for new rows in the data set.



This member is an explicit interface member implementation. It can be used only when the DbDataAdapter instance is cast to an IDbDataAdapter interface.

For more information, see InsertCommand.

Applies to

See also