Reputation: 7571
Hi i have been going through the documentation of viewstate. http://msdn.microsoft.com/en-us/library/ms227551(v=VS.85).aspx It was mentioned that objects that can be serialized are stored in viewstate. What is the meaning of serializing of objects ??
Upvotes: 0
Views: 2937
Reputation: 7631
Serialization is the process of taking an object in it's current state and turning into a "data" representation, most commonly in binary or xml formats.
For more information check out:
http://en.wikipedia.org/wiki/Serialization
Upvotes: 1
Reputation: 1537
Serialization is the process of turning an object into a stream of bytes that can be stored somewhere or sent across the wire.
Specifically in .NET, you can make a class serializable by adding the [Serializable]
(C#) or <Serializable>
(VB) attribute to the class declaration.
Upvotes: 2