This documentation is archived and is not being maintained.

SqlCommand.ExecuteReader Method

Sends the CommandText to the Connection and builds a SqlDataReader.

Name Description
SqlCommand.ExecuteReader () Sends the CommandText to the Connection and builds a SqlDataReader.

Supported by the .NET Compact Framework.

SqlCommand.ExecuteReader (CommandBehavior) Sends the CommandText to the Connection, and builds a SqlDataReader using one of the CommandBehavior values.

Supported by the .NET Compact Framework.

Show: