Navigation:  Advantage .NET Data Provider > AdsDataAdapter Class > AdsDataAdapter Constructors >

AdsDataAdapter Constructor( String, AdsConnection )

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Initializes a new instance of an AdsDataAdapter object with a given SQL statement and a connection to associate with the command.

public AdsDataAdapter( string selectCommand,

AdsConnection connection );


The selectCommand string is expected to be a valid SQL SELECT statement or stored procedure to be used as the CommandText of the SelectCommand property of the AdsDataAdapter.