DataSet.CreateDataReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection.
Overloads
| Name | Description |
|---|---|
| CreateDataReader(DataTable[]) |
Returns a DataTableReader with one result set per DataTable. |
| CreateDataReader() |
Returns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection. |
Examples
This example, a Console application, creates three DataTable instances and adds each to a DataSet. The example calls the CreateDataReader method and displays the contents of the returned