DbDataAdapter.IDbDataAdapter.SelectCommand Property


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

property System::Data::IDbCommand ^ System::Data::IDbDataAdapter::SelectCommand { System::Data::IDbCommand ^ get(); void set(System::Data::IDbCommand ^ value); };
System.Data.IDbCommand System.Data.IDbDataAdapter.SelectCommand { get; set; }
 Property SelectCommand As IDbCommand Implements IDbDataAdapter.SelectCommand

Property Value

An IDbCommand that is used during Update(DataSet) 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.

Applies to

See also