Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

private:
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
Show:
© 2017 Microsoft