.NET Framework (current version)
Gets or sets an SQL statement used to select records in the data source.
System.Data (in System.Data.dll)
abstract SelectCommand : IDbCommand with get, set
When SelectCommand is assigned to a previously created IDbCommand, the IDbCommand is not cloned. The SelectCommand maintains a reference to the previously created IDbCommand object.
If the SelectCommand does not return any rows, no tables are added to the DataSet, and no exception is raised.
Return to top
Available since 1.1