What is view state?

Answer Posted / santosh kakani

ViewState is used to maintain state between 2 subsequent
resuests to same page by same client

example
int i=10

ViewState.add("key",i) // here i is value

to retrive view state

int j = Convert.toInt32(ViewState["key"]);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between namespace, class, assembly?

673


What is the best way to crack the certification?

1467


SAP Business One(this is intigrated tool of .net)

1867


What is a metadata in .net?

655


Explain .net framework overview?

663






What makes .net core cross platform?

610


Explain the differences between server-side code and client-side code.

650


What is namespace in .net?

685


What is the concept of inheritance in .net?

699


What is the advantage of .net?

627


What is meant by globalization?

655


What is the difference between response.redirect & server.transfer?

631


Which file is taken by compiler when we have both file Application and Server Configuration file?

1653


What does msil do?

647


Explain garbage collection?

632