:: Home Page            
 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                      
Categories >> Software >> Microsoft Related >> ADO.NET


 Visual Basic interview questions  Visual Basic Interview Questions (615)
 C Sharp interview questions  C Sharp Interview Questions (722)
 ASP.NET interview questions  ASP.NET Interview Questions (1444)
 VB.NET interview questions  VB.NET Interview Questions (151)
 COM+ interview questions  COM+ Interview Questions (41)
 ADO.NET interview questions  ADO.NET Interview Questions (199)
 IIS interview questions  IIS Interview Questions (86)
 MTS interview questions  MTS Interview Questions (5)
 Crystal Reports interview questions  Crystal Reports Interview Questions (62)
 BizTalk interview questions  BizTalk Interview Questions (34)
 Dot Net interview questions  Dot Net Interview Questions (861)
 Exchange Server interview questions  Exchange Server Interview Questions (103)
 SharePoint interview questions  SharePoint Interview Questions (25)
 WCF interview questions  WCF Interview Questions (8)
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions (193)
explain connection less and with connection?diference 
between data reader,data set,data adapter? can we use data 
reader,data set in a single application? if yes explain 
with simple code,if no explain?
 Question Submitted By :: ADO.NET
I also faced this Question!!     Answer Posted By  
# 1
in connection less architecture connection to the database
need not be persist till the end of the process.after
fetching the data form database it is pushed in database
object called dataset and connection object need not to be
persist and its closed. and the data will be available from
the dataset.

data reader - ADO.NET DataReader to retrieve a read-only,
forward-only stream of data from a database. Using the
DataReader can increase application performance and reduce
system overhead because only one row at a time is ever in
memory.Connection to the database is maintained till the is simply like an ado contains only one
table at a is much faster than dataset.

dataset - is used to hold the data from the database along
with their relation. it is connection less also
persist the value which are retrieved form the database.
it is a bit bulky gives both forward and backward
access to data. it uses can consist more than one
table.we have atrribtes for the dataset


an adapter object is used to fill the data from the database.

dataadapter - dataadapter is a database object which
used to fill the dataset object with data from the database.
Is This Answer Correct ?    33 Yes 2 No
# 2
above exp. is excellent for connection less and connection
data adapter performs almost five steps
1- open(create)connection
2- fatch the data
3- generate xml file of data
4- fill xml data file into the dataset by fill()method
5- closed the connection.
Is This Answer Correct ?    18 Yes 0 No
Prabhat Saxena(lmp)

Other ADO.NET Interview Questions
  Question Asked @ Answers
What provider use by default? Accenture 10
how to add a selected row of a gridview to another gridview without reloading the page??   2
What is dataset and tell about its features. What are equivalent methods of previous, next etc. Of ADO in ADO.NET ? Digital-GlobalSoft 1
What does ADO.NET consists of ? TCS 7
What are relation objects in dataset and how & where to use them?   1
What is a dataset?   2
how would i implement dropdownlist in gridview using c#   2
what is Karrox 6
If a dataset contains 100 rows, how to fetch rows between 10 and 20 only ? Ksb 14
What's the difference between Dataset.clone and Dataset.copy? Ksb 10
What is datatable?   3
What are the Different layers in ADO.Net?   7
For more ADO.NET Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::