Main objects of DataSet - ADO.NET

Q.  What are the three main objects of DataSet?
- Published on 27 Jul 15

a. DataTable, DataColumn, and type.
b. DataTable, DataRelation, and DataAdapter.
c. DataTable, DataColumn, and DataRelation.
d. DataReader,DataAdapter, and Command.

ANSWER: DataTable, DataColumn, and DataRelation.
 

    Discussion

  • Brijesh   -Posted on 19 Oct 15
    DataSet object works as mini database in ADO.NET. It provides disconnected architecture. It is collection of datatables means it can store more than one table simultaneously. Again DataTable is collection of DataRow And DataColoumn. You can also create relation between these tables.So DataTable, DataColumn, and DataRelation are three main objects in DataSet.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)