.NET Framework 4.6 and 4.5
Gets or sets an SQL statement used to select records in the data source.
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.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Supported in: 3.0, 2.0, 1.0