This documentation is archived and is not being maintained.

DbCommand.ExecuteReader Method

Executes the CommandText against the Connection and returns a DbDataReader.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ExecuteReader() Executes the CommandText against the Connection, and returns an DbDataReader.
Public method ExecuteReader(CommandBehavior) Executes the CommandText against the Connection, and returns an DbDataReader using one of the CommandBehavior values.
Top
Show: