How will u decide when to use caching and when to use
viewstate?
Answer Posted / anurag vatsa
storge of large dataset & data tables should be done using
data caching while for small data values we can use view
state.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the disadvantages of asp.net?
What is the difference between file-based dependency and key-based dependency?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
What is the use of view state?
Is it possible to apply themes to an asp.net application? If yes, then how?
What is the difference between mechine.config and web.config?
What is the base class from which web forms are inherited?
How many types of file extensions for razor views in ASP.Net MVC?
What is simple data binding?
Explain the role of global.asax?
How you can return View from ASP.NET Web API method?
Is viewstate enabled by default?
What is application variable?
Give an example of what might be best suited to place in the application_start and session_start subroutines?
What is server redirect?