IDbCommand.ExecuteReader Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Executes the CommandText against the Connection and builds an IDataReader.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

abstract ExecuteReader : unit -> IDataReader

Return Value

Type: System.Data.IDataReader

An IDataReader object.

.NET Framework
Available since 1.1
Return to top