ASA Programming Guide
Adaptive Server Anywhere .NET Data Provider API Reference
AsaDataAdapter class
Initializes an AsaDataAdapter object.
void AsaDataAdapter( )
void AsaDataAdapter( AsaCommand selectCommand )
void AsaDataAdapter(
string selectCommandText,
AsaConnection selectConnection
)
void AsaDataAdapter(
string selectCommandText,
string selectConnectionString
)
selectCommand An AsaCommand object that is used during Fill to select records from the data source for placement in the DataSet.
selectCommandText A SELECT statement or stored procedure to be used by the SelectCommand property of the AsaDataAdapter.
selectConnection An AsaConnection object that defines a connection to a database.
selectConnectionString A connection string for an Adaptive Server Anywhere database.
The following code initializes an AsaDataAdapter object:
AsaDataAdapter da = new AsaDataAdapter( "SELECT emp_id, emp_lname FROM employee, conn );