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
Explain why do we use msmq?
How to manage pagination in a page using .net?
What is a formatter in .net?
What does mean by .net framework?
SAP Business One(this is intigrated tool of .net)
How com+ related to the dna architecture?
Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
Is .net core managed code?
What is a windows process in .net?
I want to serialize instances of my class. Should I use xmlserializer, soapformatter or binaryformatter?
What is Code group in .Net with respect to CAS
How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?
Explain the different parts of an assembly?
Explain the main components in .net?