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
Can firstordefault return null?
What is a partial class in c#?
Can we make a Static Constructor Parameterized? Give Reason with your answer
Structs are not reference types. Can structs have constructors?
Why attributes are used in c#?
Explain About namespaces
If casting fails what type of exception is thrown?
What is the max value of int32 in c#?
how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.
Can a struct inherit from another struct or class in c#?
Explain the role of Garbage collector and its generations?
What are Indexers in C#?
What is boxing in c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What is readline c#?