what is the lifespan of the items stored in viewstate ?
Answer Posted / priya arun
view state life span is only to current page itslef....
while navigating to another page,the state page discard the
value ...so view state can't maintain the value in next
page.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is inheritance possible in c sharp?
Is array thread safe c#?
What is dictionary class in c#?
How does one compare strings in c#?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
Why do we use namespace in c#?
In c#, what will happen if you do not explicitly provide a constructor for a class?
Is arraylist thread safe?
What is the CTS, and how does it relate to the CLS?
what is the Difference between the public and private ?
How do namespaces work?
What is stringwriter c#?
What are the different types of comments in c#?
Why do we need abstraction in c#?
Why do we use abstract class in c#?