DbDataAdapter.IDbDataAdapter.InsertCommand Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

Private Property InsertCommand As IDbCommand Implements IDbDataAdapter.InsertCommand

Property Value

Type: System.Data.IDbCommand

An IDbCommand used during Update 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.

.NET Framework
Available since 2.0
Return to top