AdsDataAdapter Constructor( String, AdsConnection )

Advantage .NET Data Provider

  Previous topic Next topic  

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 );

Remarks

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.