Hi,
Store DataSet in the session instead - it is serializable and it contains
the real data while the DataView just sorts/filters them. Re-constructing a
data view on each request can be time-consuming though, so you could also
consider using the ASP .NET cache instead, bearing web farm load balancing
issues in mind.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"uni" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi,
If I use session state mode=InProc, my session variable
for the dataview object is working fine, but if I change
the mode to StateServer, I got the error message saying:
The type System.Data.DataView in Assembly System.Data,
Version=1.0.3300.0, Culture=neutral, ...... is not marked
as serializable.
How could that be and how can I get around with it?
Any help is appreciated!
uni