Collection Contents Index ExecuteReader() method Next PDF

SQL Anywhere® Server - Programming
  iAnywhere.Data.SQLAnywhere namespace (.NET 2.0)
    SACommand class
      ExecuteReader methods
ExecuteReader(CommandBehavior) method


Executes a SQL statement that returns a result set.

Prototypes

Visual Basic
Public Function ExecuteReader( _
ByVal behavior As CommandBehavior _
) As SADataReader

C#
public SADataReader ExecuteReader(
CommandBehavior behavior
);

Parameters
Return value

The result set as an SADataReader object.

Remarks

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.

See also

Collection Contents Index ExecuteReader() method Next PDF