Udostępnij za pośrednictwem


DataTableReaders (ADO.NET)

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.

In This Section

See Also

Other Resources

Retrieving and Modifying Data in ADO.NET

ADO.NET Managed Providers and DataSet Developer Center