DataTable.CreateDataReader Method ()
Assembly: System.Data (in System.Data.dll)
The following console application creates a DataTable instance. The example then passes the filled DataTableto a procedure that calls the method, which iterates through the results contained within the DataTableReader.
The example displays the following output in the console window:
Available since 2.0