Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExecuteReader Method

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:
© 2015 Microsoft