ExecuteReader Method
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft