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


Please Help Members By Posting Answers For Below Questions

How do I join one form to another in c#?

466


What is ispostback c#?

480


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

1451


How to use nullable types in .net?

568


What is xslt in c#?

473






Can constructor be protected?

467


What is console based application?

478


What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

526


What is byte c#?

449


What is attribute and reflection in c#?

478


What is the do while loop code?

491


What is the difference between System.console.WriteLine() and System.console.Write() function?example?

584


What is the use of GC.KeepAlive Method?

645


Why is c# used?

484


What are the properties of string?

490