Working with DataSets
The DataSet is an in-memory representation of data structured in the form of tables, relationships, and constraints such as unique and foreign keys.
The DataSet is disconnected from the data source. It typically gets its data from the DataAdapter and never communicates directly with a Connection. When manipulating data in the DataSet, it maintains versions of each row changed. This enables changes to either be stored back to the data source through a DataAdapter or cancelled. DataSets are not provider specific. They are capable of retrieving and storing data through any provider specific DataAdapter.
You will work with two types of DataSets—untyped and strongly typed. An untyped DataSet refers to the base class, DataSet ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access