|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Creating and Using a DataTableReader
Thepresents the contents of a or a 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. The results are in the same order as the DataTables in the DataSet object's collection.
In This Section
Discusses how to create a DataTableReader object.
Describes the use of the Read method to move through the contents of a DataTableReader.