System.Data.IDbDataAdapter.SelectCommand Property

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

Syntax

public IDbCommand SelectCommand { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When IDbDataAdapter.SelectCommand is assigned to a previously created System.Data.IDbCommand, the System.Data.IDbCommand is not cloned. The IDbDataAdapter.SelectCommand maintains a reference to the previously created System.Data.IDbCommand object.

If the IDbDataAdapter.SelectCommand does not return any rows, no tables are added to the System.Data.DataSet, and no exception is raised.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0