Interviews6 answers
What is difference between DataSet and DataTable?
6 Answers
1
Linto P ThomasPosted Jul 30, 2015, 12:30 AM EDT
1
Linto P ThomasPosted Jul 30, 2015, 12:30 AM EDT
search in google
kiran rajPosted Jun 26, 2015, 4:18 AM EDT
Data Table:
1. A DataTable is an in-memory representation of a single database table which has collection of rows and columns.
2.DataTable fetches only one TableRow at a time
DataSet:
1.A DataSet is an in-memory representation of a database-like structure which has collection of DataTables.
2.DataSet can fetch multiple TableRows at a time
Abhishek MauryePosted Mar 20, 2015, 1:02 AM EDT
Data Table:
1. A DataTable is an in-memory representation of a single database table which has collection of rows and columns.
2.DataTable fetches only one TableRow at a time
DataSet:
1.A DataSet is an in-memory representation of a database-like structure which has collection of DataTables.
2.DataSet can fetch multiple TableRows at a time
sapana sharmaPosted Nov 30, 2014, 11:52 PM EST
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.
Nitish kumarPosted Nov 19, 2012, 11:24 PM EST



