This documentation is archived and is not being maintained.

IDbCommand.ExecuteReader Method ()

.NET Framework 1.1

Executes the CommandText against the Connection and builds an IDataReader.

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

Return Value

An IDataReader object.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDbCommand Interface | IDbCommand Members | System.Data Namespace | IDbCommand.ExecuteReader Overload List

Show: