ExecuteReader Method

Executes a SQL statement that returns a result set.

Syntax 1

AseDataReader ExecuteReader( )

Syntax 2

AseDataReader ExecuteReader( CommandBehavior behavior )

Parameters

Return Value

The result set as an AseDataReader object.

Usage

The statement is the current AseCommand object, with CommandText and Parameters as needed. The AseDataReader object is a read-only, forward-only result set. For modifiable result sets, use an AseDataAdapter class.

Related concepts
AseDataAdapter Class
AseDataReader Class