The ADO.NETis a memory-resident representation of data that provides a consistent relational programming model regardless of the source of the data it contains. ADataSet represents a complete set of data including the tables that contain, order, and constrain the data, as well as the relationships between the tables.
There are several ways of working with a DataSet, which can be applied independently or in combination. You can:
Programmatically create a, , and within a DataSet and populate the tables with data.
Populate the DataSet with tables of data from an existing relational data source using a DataAdapter.
Load and persist the DataSet contents using XML. For more information, see.
A strongly typed DataSet can also be transported using an XML Web service. The design of the DataSet makes it ideal for transporting data using XML Web services. For an overview of XML Web services, see. For an example of consuming a DataSet from an XML Web service, see .
Describes the syntax for creating an instance of a DataSet.
This topic describes how to load a DataSet with data from a data source.