Answer Posted / jeyaseelan
view state is nothing but store all the current page
informations and the control details when the page is
postback.all the control details and values to be stored in
hidden field.Those hidden fields are creating dynamically
depending upon the page placed controls.If you want to
fetch the values of the previous page control(ex:'Name' is
the previous page control Id)
Get the value of name from second page
sample code:
string get_Name=viewstate["Name"].Tostring();
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a debug and release build?
why you wouldn't want to write into it even if you could
What are the collections you've used?
What do you mean by web service?
Explain why do we use msmq?
How many types of generations are there in a garbage collector?
What is machine.config in .net?
What is the need of OLE-automation?
Describe session handling in a webform, how does it work and what are the limitations?
What is multiThreading in .NET?
What are the important components of .net?
Write the .net syntax for 'for loop'?
What is assembly in .net?
I want to serialize instances of my class. Should I use xmlserializer, soapformatter or binaryformatter?
How many namespaces are in .net version 1.1?