Search:
Namespaces
Discussions
.NET v1.1
Feedback
Persisting Datasets in ASP.NET ViewState
Details
Related Types
Site:
ASPFree
Original URL:
http://aspfree.com/authors/stephen_rylander/Persist.aspx
Summary:
Persisting data, particularly object state, in a connectionless environment has always been a challenge. There has always been Session variables in traditional ASP, but those tie user sessions to a thread running on a specific computer, nullifying any plans for real scalability. And you could always write a function to serialize an object and try storing that string in a hidden form field, but again, that was clunky. Now we have ASP.NET, which is much better adept to helping us solve this problem; especially the ability to serialize objects.I’ve found that by using only functions provided by the Framework one can easily persist a Dataset as XML in ASP.NET Viewstate.
System.Data.DataRow
System.Data.DataSet
System.EventArgs
System.Int32
System.IO.StringReader
System.Runtime.Serialization.ISerializable
System.String
System.Web.UI.Page
System.Web.UI.WebControls.DataList
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com