Export (0) Print
Expand All

DataTableReaders

The DataTableReader presents the contents of a DataTable or a DataSet in the form of one or more read-only, forward-only result sets.

When you create a DataTableReader from a DataTable, the resulting DataTableReader object contains one result set with the same data as the DataTable from which it was created, except for any rows that have been marked as deleted. The columns appear in the same order as in the original DataTable.

A DataTableReader may contain multiple result sets if it was created by calling CreateDataReader. The results are in the same order as the DataTables in the DataSet object's Tables collection.

Creating a DataReader

Discusses how to create a DataTableReader object.

Navigating DataTables

Describes the use of the Read method to move through the contents of a DataTableReader.

Show:
© 2014 Microsoft