What are the various objects in Dataset? - DOT.NET

What are the various objects in Dataset?

The DataSet class exists in the System.Data namespace.

The classes contained in the DataSet class are:
DataSet ClassDescription
DataTableIt is defined in the System.Data namespace and represents a single table of memory-resident data. It contains a collection of columns represented by a DataColumnCollection. Constraints represented by a ConstraintCollection. It also contains a collection of rows represented by the DataRowCollection.
DataColumnRelationships can be built with more than one column per table by specifying an array of DataColumn objects as the key columns.
DataRowIt retains both its current and original versions to identify changes to the values stored in the row.
ConstraintIt adds a UniqueKeyConstraint or a ForeignKeyConstraint to enforce an integrity constraints when changes are made to the related column values.
DataRelationIt identifies matching columns in two tables of a DataSet.
How to save data from dataset? - DOT.NET
The modified data needs to be sent back to the database in order to save it...
Explain the difference between dataset clone and dataset copy - DOT.NET
Dataset.clone() duplicates (only) the structure of a dataset, without duplicating the data....
Explain the difference between DataSet and DataReader - DOT.NET
Datareader fetches one row at a time from the datasource. DataSet fetches all data from the datasource at a time to its memory area.....
Post your comment