can we transfer data from one page to another page using
viewstate if so how?if not y?
Answer Posted / bikramjit singh
No we cannot tranfer data from pne page to another using
viewstate. Viewsatate is a atate management technique which
allows to preserve controls property values and class level
variables values for a specific page between postbacks.
We can tranfer data from one page to another using session
object or query string.Session object is a collection
object which can store large amount of data whereas query
string is used to transfer small amount of information from
one page to another.
Bikramjit Singh.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is difference between Server.Transfer and Response.Redirect in ASP.NET?
What is viewstate? In which event of the page life cycle, is the viewstate available?
Why do we need Sessions?
What are the built-in objects in asp.net?
Is there any alternative to avoid name collisions other then Namespaces?
Which namespace is used by ado.net?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
What is ascx?
What parameters can you pass in the url of the api?
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
What is the difference between rest and restful?
What is Forms Authentication in ASP.NET?
Why do we need master page in asp.net?
What is difference between cache and session?
What are the different method of navigation in asp.net?