A read-only, forward-only result set from a query or stored procedure.
MarshalByRefObject
IDataReader, IDisposable, IDataRecord, IEnumerable, IListSource
There is no constructor for AseDataReader. To get an AseDataReader object, execute an AseCommand:
AseCommand cmd = new AseCommand("Select emp_id from employee", conn ); AseDataReader reader = cmd.ExecuteReader();
You can only move forward through an AseDataReader. If you need a more flexible object to manipulate results, use an AseDataAdapter.
The AseDataReader retrieves rows as needed when you use cursors. For more information see the UseCursor parameter in the ConnectionString property in the “AseConnection constructors”.
“ExecuteReader method” and “Accessing and manipulating data”.