Using a DataSet with Existing Data

The DataSet is an in-memory relational representation of data that is independent of any data source. However, the DataSet can be used in conjunction with existing data in a data source when used with a .NET Framework data provider. A .NET Framework data provider uses a DataAdapter to fill the DataSet with data and/or schema information, as well as to resolve changes to the data at the data source.

Information about loading a DataSet and resolving changes back to the data source can be found in the section Using .NET Framework Data Providers to Access Data, in the following topics:

The DataSet can also read and write existing XML data. For more information, see XML and the DataSet.

See Also

Creating and Using DataSets