:: 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 (1443)
 VB.NET interview questions  VB.NET Interview Questions (150)
 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 (33)
 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 is meant by connection pooling and event pumbling in TCS 3
Difference between ADO and ADO.Net IBM 4
Whate are different types of Commands available with DataAdapter ?   2
What is ODP.NET? Microsoft 2
What?s the role of the DataReader class in ADO.NET connections? Ksb 7
Diff. b/w DataReader and DataSet? Value-Labs 8
How to check if a datareader is closed or opened?   1
How to Handle the exceptions in Sqlsrver2000 SQL-Star 3
how would i implement dropdownlist in gridview using c#   2
Why sql Data Reader object not created Matrix 9
What provider use by default ? Accenture 5
What are the three Objects of ADO.   10
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.   ::