what is the lifespan of the items stored in viewstate ?
Answer Posted / suresh
ViewState is newly introduced in ASP.Net to hold the status of the current page values when submitted to the server. Life of ViewState is till the current page postbacks.
Note : You may save a lot of coding by maintaining the ViewState of the objects in your Web Form
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
Why do we need reflection in c#?
What is a method signature c#?
Why do we need interface in c#?
What is parameterized constructor?
Explain code compilation in c#.
What is exe file in c#?
What is int parse in c#?
Do void methods have parameters?
What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?
Explain the 3 types of properties in c# with an example?
How can you sort strings in array that are passed to method as arguments?
What is CLR and its application.?
Why data types are important in c#?
Explain more on CLR