DataSet holds the data in memory
DataView is a "view" of the data that is customizable, such as filtering and sorting, but the underlying data still remains in a
DataTable.
Caching a DataView might store the view settings but not the underlying data. I'm not sure how that will behave. I can only
suggest that you try caching a DataView (only if you specificly need a DataView) and see if you can access the underlying DataTable
upon a post-back.
It may just be easier (and more appropriate) to cache the DataTable (or complete DataSet) and recreate a DataView when you need one.
--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Arjen" <bo*****@hotmail.com> wrote in message news:da**********@news2.zwoll1.ov.home.nl...
Hi,
What are the main differences between a dataset and a dataview?
What should I cache dataset or dataview... or what is the best thing to do in what situation?
Thanks!
Arjen