Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Executes a SQL statement that returns a result set.
Public Function ExecuteReader( _
ByVal behavior As CommandBehavior _
) As SADataReader
public SADataReader ExecuteReader(
behavior One of CloseConnection, Default, KeyInfo, SchemaOnly, SequentialAccess, SingleResult, or SingleRow.For more information about this parameter, see the .NET Framework documentation for CommandBehavior Enumeration.
The result set as an SADataReader object.
The statement is the current SACommand object, with CommandText and Parameters as needed. The SADataReader object is a read-only, forward-only result set. For modifiable result sets, use an SADataAdapter.