Nupur Bansal
What is difference between DataSet and DataTable?
Posted by Nupur Bansal in ADO.NET on Nov 07, 2012
  • 0
  • 1
  • 2302
Do you know the answer for this question? Post it below.
Guest
Posted by Nitish kumar on Nov 20, 2012
  • 0

DataSet------>

1. Its connectionless. whenever you want fetch data from database. its connects indirectly to the database and create a virtual database in local system. then disconnected from database.

2. Its easily read and write data from virtual database.

************************

DataTable----------->

A DataTable object represents a single table in the database. It has a name rows and columns.

There is not much difference between dataset and datatable, dataset is just the collection of datatables.


PRIVACY POLICY | TERMS & CONDITIONS | SITEMAP | CONTACT US | ABOUT US | REPORT ABUSE
2014© C# Corner. All contents are copyright of their authors.