ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Can you store dataset in viewstate?
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can you store dataset in viewstate?
Answer
# 1
No, You cant directly store Dataset in ViewState. You can 
get XML from dataset store that Xml in ViewState. While 
getting From ViewState convert to xml and then from xml to 
dataset



 
Is This Answer Correct ?    2 Yes 7 No
Mansing Patil
 
  Re: Can you store dataset in viewstate?
Answer
# 2
yes.We can store dataset in view state.Not a dataset any 
serialible object type(datatable,dataset etc..) to be store 
in view state.
 
Is This Answer Correct ?    6 Yes 3 No
Shashikesh Mishra
 
 
 
  Re: Can you store dataset in viewstate?
Answer
# 3
//Create new dataset :
DataSet ds = new DataSet();
//Store the dataset directly into view state
ViewState["dsn"]=ds;
//retrieve the dataset where it required
GridView1.DataSource = (DataSet)ViewState["dsn"];
 
Is This Answer Correct ?    17 Yes 1 No
Rajamurugesh
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
what is shared assembly? Microsoft2
difference between <connectionstring> <Appsetting>  6
Different type of validation controls in asp.net ? Keane-India-Ltd1
Can the validation be done in the server side? Or this can be done only in the Client side?  2
What layout mode is the default when a new Web Form is created? a) GridBagLayout b) GridLayout c) FlowLayout d) FormLayout Syntax-Softtech2
Explain how inline and code behind is used differently ?  1
Types of state management techniques ? Digital-GlobalSoft2
7. Do you have reference list? Swatz-Oils1
What is the method used to load generated dataset with data on the DataAdapter control ?  3
what is the difference between assemblyinfo and webconfig files?  1
how can you handle "control is not part of this page " error? FactorH3
How to refresh a page in asp.net  2
Describe and In Process Vs Out of Process component. Which is faster? Syntax-Softtech2
In your web.config file which attribute of <Globalization> element identifies the default culture that will be used for web request?  1
To call a Web service which transport protocol you can use?  3
What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?  2
What line in the following XML document will generate an error? <?xml version=?1.0?> <employees> <employee> <name>Bob Andcarrol</name> </employee> <employee> <name>Robert Burns</name> </employee> </employees> a) 6 b) 4 c) 1 d) There is no error Syntax-Softtech2
How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File. Phoenix-Technologies2
what is the use of asp.net ABC2
how to update data using store procedure  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com