Difference between a datatable and dataview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What are the main differences between a dataTable and dataView? Does one
perform better than the other?
 
DotNetGuy

There is no difference between those two. In every datatable is inbuild a
dataview named the defaultview. Beside that you can create extra (data)views
on the same datatable, wich tells how the datatable is processed (viewed),
although that does not returns than datarows, however views on those rows
(Datarowviews). However in that is told which datarow it affects.

I hope that this gives an idea.

Cor
 
Hi,

DataTable is the actual store of data.
DataView is a view on the DataTable and gives you features like sorting and
filtering while it doesn't hold any data.
 
Back
Top