Contents Index Checking the connection state Using the AsaCommand object to retrieve and manipulate data

ASA Programming Guide
  Developing Applications with the .NET Data Provider

Accessing and manipulating data


With the Adaptive Server Anywhere .NET data provider, there are two ways you can access data: using the AsaCommand object or using the AsaDataAdapter object.

There is no performance impact from using the AsaDataReader within an AsaCommand object to fetch rows from the database rather than the AsaDataAdapter object.


Using the AsaCommand object to retrieve and manipulate data
Using the AsaDataAdapter object to access and manipulate data
Obtaining primary key values
Handling BLOBs
Obtaining time values

Contents Index Checking the connection state Using the AsaCommand object to retrieve and manipulate data