DbDataAdapter.IDbDataAdapter.SelectCommand Property


Gets or sets an SQL statement used to select records in the data source.

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

private abstract SelectCommand : IDbCommand with get, set
private override SelectCommand : IDbCommand with get, set

Property Value

Type: System.Data.IDbCommand

An IDbCommand that is used during Update to select records from data source for placement 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 SelectCommand.

.NET Framework
Available since 2.0
Return to top