what is view state
Answers were Sorted based on User's Feedback
Answer / prameela
ViewState in Asp.net is used to save data to access across
postbacks.If the information is to be shared across
different controls, it can be placed in the view state of
the page, if it is to be accessed within the scope of a
single control, then it can be placed within the view state
of the control
Is This Answer Correct ? | 11 Yes | 5 No |
Answer / somnath
using view state we can maintain a value in our page scope.
and this value use in pay page of our website.viwe state
maintain one session at the page destroyed.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sathya
View state is the method that the ASP.NET page framework
uses to preserve page and control values between round
trips. When the HTML markup for the page is rendered, the
current state of the page and values that must be retained
during postback are serialized into base64-encoded strings.
This information is then put into the view state hidden
field or fields.
Is This Answer Correct ? | 2 Yes | 4 No |
Which is the base class for .net Class library?
How large is the .net framework 3.0?
Why is XmlSerializer so slow
Why do I get errors when I try to serialize a Hashtable
What are delegates?where are they used
what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key?
What is namespaces
Which version of .net framework is installed?
What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?
And if they have conflicting method names ?
How do you create shared assemblies ?
I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.