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
How do you sort a list in c#?
explain the features of static/shared classes.
How to use exception handling in stored procedure?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
Is enum a value type c#?
Which program construct must return a value?
In .NET which is the smallest unit of execution?
What is literal control
What is xaml in c#?
When should you use generics?
1. Describe page life cycle?
Can bool be null c#?
Enlist the different types of classes in c#?
Why objects are stored in heap in c#?
Why do we use virtual methods in c#?