Export (0) Print
Expand All

IDbCommand.ExecuteReader Method

Executes the CommandText against the Connection and builds an IDataReader.

Overload List

Executes the CommandText against the Connection and builds an IDataReader.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Function ExecuteReader() As IDataReader
[C#] IDataReader ExecuteReader();
[C++] IDataReader* ExecuteReader();
[JScript] function ExecuteReader() : IDataReader;

Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Function ExecuteReader(CommandBehavior) As IDataReader
[C#] IDataReader ExecuteReader(CommandBehavior);
[C++] IDataReader* ExecuteReader(CommandBehavior);
[JScript] function ExecuteReader(CommandBehavior) : IDataReader;

See Also

IDbCommand Interface | IDbCommand Members | System.Data Namespace

Show:
© 2014 Microsoft