DbCommand::ExecuteReader Method ()

 

Executes the CommandText against the Connection, and returns an DbDataReader.

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

public:
DbDataReader^ ExecuteReader()

Return Value

Type: System.Data.Common::DbDataReader^

A DbDataReader object.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: