Export (0) Print
Expand All

SqlCommand.ExecuteReader Method

Sends the CommandText to the Connection and builds a SqlDataReader.

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

  Name Description
Public method ExecuteReader() Sends the CommandText to the Connection and builds a SqlDataReader.
Public method ExecuteReader(CommandBehavior) Sends the CommandText to the Connection, and builds a SqlDataReader using one of the CommandBehavior values.
Top
Show:
© 2014 Microsoft