What is the difference between a DataSet and a DataTable in .NET?
What is the difference between a DataSet and a DataTable in .NET?
6.8k Views Asked by paramasivam At
3
What is the difference between a DataSet and a DataTable in .NET?
Basically a DataSet is a collection of DataTables, possibly including relationships between the tables.
From the documentation for DataSet:
So a DataSet itself doesn't contain the data - that's always within DataTables. The DataSet adds metadata, basically.