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 are multicast delegates?
Explain me why do we use msmq?
Write the .net syntax for 'while loop'?
Explain the different parts of an assembly?
What's singlecall activation mode used for in .net?
What are the different types of memory in .net?
What are the new features in .net core?
How many types of transactions are there in com + .net ?
Tell me what is serialization?
What are the different types of remote object creation mode in .net?
How is meant by dll in .net?
What is the difference between user control an custom control? Advantages/disadvantages?
What is lazy initialization?
What is a web service in .net?
How to Create and Consume a Web Service?