what is view state?

Answer Posted / sandeep

View State is a mechanism by which we can maintain the
state during the subsequent postback of same .aspx
page...means suppose we have a registration form to fill i
fill all the entries but some entries were wrong than wht
happen next i'll get only those value which was wrong means
i won't fill all the value again just fill the wrong value
only...

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1367


How long the items in ViewState exists?

960


Is a dll file an executable?

545


How can we call webservices in Banking Applications? and where we are using it?

1524


Explain the working of passport authentication.

539






What is the equivalent of date() and time() in asp.net?

510


What is the difference between web.config and machine.config in ASP.NET?

588


How can you display all validation messages in one control?

541


Explain the features that make asp.net more used framework? : asp.net mvc

473


Can you explain how ASP.NET application life cycle and page life cycle events fire?

562


How is application management and maintenance improved in asp.net 2.0?

533


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

596


What are the security types in ASP/ASP.NET? Different Authentication modes?

552


What is the purpose of session management?

504


What is use of <% %> in asp.net?

541