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)

property IDbCommand^ SelectCommand {
	virtual IDbCommand^ get() sealed = IDbDataAdapter::SelectCommand::get;
	virtual void set(IDbCommand^ value) sealed = IDbDataAdapter::SelectCommand::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