This documentation is archived and is not being maintained.

DataSet.CreateDataReader Method

Returns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection.

Name Description
DataSet.CreateDataReader () Returns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection.

Supported by the .NET Compact Framework.

DataSet.CreateDataReader (DataTable[]) Returns a DataTableReader with one result set per DataTable.

Supported by the .NET Compact Framework.

In order to ensure that the order of the result sets within the returned DataTableReader, if a DataTable within the DataSet is empty, it will be represented by an empty result set within the returned DataTableReader.

Show: