Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.