12. Understanding .NET Data Provider Connectivity : IngresDataReader Object—Retrieve Data from the Database : Build the IngresDataReader
 
Share this page                  
Build the IngresDataReader
After creating an instance of the IngresCommand object, call Command.ExecuteReader to build the IngresDataReader to retrieve rows from a data source, as shown in the following example:
Visual Basic:
Dim rdr As IngresDataReader = cmd.ExecuteReader()
C#:
IngresDataReader rdr = cmd.ExecuteReader();