How will u decide when to use caching and when to use
viewstate?
Answer Posted / richa
When it comes to choosing between ViewState and Caching it
all comes down to what you are doing. ViewState is an ideal
candidate if you are planning to save small values. Mostly
values of server controls are saved in ViewState. If you
plan to store large datasets, datatables or collections than
data caching is an excellent candidate.
| Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
How to add DateTime Control in normal DataGrid Server Control?
Explain the asp.net mvc request life cycle? : asp.net mvc
What are client activated objects and server activated objects?
Explain what is event bubbling?
What is the difference between cookie and session?
How you can return View from ASP.NET Web API method?
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
Explain what are webservices?
How many languages are supported by .NET at present time?
Explain MVC model binders?
How does the cookies work in asp.net?
What is asp.net introduction?
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
What is the difference between application state and caching?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#