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 advantage of packaging over xcopy in .net?
Is .net a language?
How will you register com+ services?
What is the purpose of enumerable class in .net?
What is value type and refernce type in .net?
What is the use of common language runtime?
What are .net applications?
What is 3 tier architecture?
Is .net front end or backend?
What data providers available in .net to connect to database?
What are three common acronyms used in .net, and what do they stand for?
When displaying fonts, what is the difference between pixels, points and ems?
What tools is used to develop .NET applications?
What are the advantages of .net core?
What is the single responsibility principle?