|
INTERVIEW QUESTIONS
MICROSOFT
ASP.NET
DETAILS
Question: What is a view state?Can Dataset be stored in view state?Does datagrid has a view state?
Answer: ViewState is a mechanism to maintain state in ASP.net pages. HTTP is a stateless protocol. So we can maintain state either on server or client using sessions, cookies, hidden variables, URL, etc.
ViewState is a hidden field maintained by ASP.Net to contain page data.
Yes, Dataset can also be stored in ViewState but this is not recommended due to overhead of managing a bulk data in ViewState.
|
|
|
Category |
ASP.NET Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6686 users |
Added on |
7/27/2011 |
Views |
71307 |
Rate it! |
|
|
Question:
What is a view state?Can Dataset be stored in view state?Does datagrid has a view state?
Answer:
ViewState is a mechanism to maintain state in ASP.net pages. HTTP is a stateless protocol. So we can maintain state either on server or client using sessions, cookies, hidden variables, URL, etc.
ViewState is a hidden field maintained by ASP.Net to contain page data.
Yes, Dataset can also be stored in ViewState but this is not recommended due to overhead of managing a bulk data in ViewState. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Is xml plays any role in ado.net architecture?
|
View Answer
|
|
How a grid can be made editable int ASP.Net? How to Access a particular cell of Grid? What is the difference between datagrid and datalist?
|
View Answer
|
|
How to update the data in dataset
|
View Answer
|
|
Where can we save cashed data and session data
|
View Answer
|
|
Difference between DataList and Repeater?
|
View Answer
|
|
What is the difference between inline coding & code behind.
|
View Answer
|
|
Which Validation Control Should I use to select at least one value in Dropdown List control
|
View Answer
|
|
What is AutoWiredUp=false in PAGE directive in ASP.NET? Microsoft documentation says default value for AutoWiredUp is TRUE, but in reality it is FALSE by default whenever we add new web page. What is it actually?
|
View Answer
|
|
Why we need both server controls and html controls in asp.net. what is the difference between them?
|
View Answer
|
|
Can anybody tell me how to fire the textchanged event of texbox inside the grid?
|
View Answer
|
|
Whats the diffrence between Custom Control and a User Control?
|
View Answer
|
|
How do you debug an ASP.NET Web application?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All ASP.NET Interview Questions & Answers - Exam Mode /
Learning Mode
|