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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  VB.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
What is the difference between Dataset and Recordset?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between Dataset and Recordset?
Answer
# 1
?  A DataSet can represent an entire relational database in 
memory, complete with tables, relations, and views.
?  A DataSet is designed to work without any continuing 
connection to the original data source.
?  Data in a DataSet is bulk-loaded, rather than being 
loaded on demand.
?  There's no concept of cursor types in a DataSet.
?  DataSets have no current record pointer You can use For 
Each loops to move through the data.
?  You can store many edits in a DataSet, and write them to 
the original data source in a single operation.
?  Though the DataSet is universal, other objects in 
ADO.NET come in different versions for different data 
sources. 
 
Is This Answer Correct ?    7 Yes 2 No
Vinayak
 
  Re: What is the difference between Dataset and Recordset?
Answer
# 2
1) With Data set you can retrive data from database like 
oracle and SQL Server and manage them in one dataset, with 
recordset this is not possible.

2) All representation of Dataset is using XML while 
recordset uses COM.

3) Recordset can not be transmitted on HTTP while Dataset 
can be.
 
Is This Answer Correct ?    10 Yes 1 No
Shweta Mogadpally
 
 
 
  Re: What is the difference between Dataset and Recordset?
Answer
# 3
1) With Data set you can retrive data from database like 
oracle and SQL Server and manage them in one dataset, with 
recordset this is not possible.

2) All representation of Dataset is using XML while 
recordset uses COM.

3) Recordset can not be transmitted on HTTP while Dataset 
can be.
 
Is This Answer Correct ?    3 Yes 4 No
Shweta Mogadpally
 
  Re: What is the difference between Dataset and Recordset?
Answer
# 4
With Recordset comes the Recordset pointer, that points to 
the relative data so retrieved from the database. The 
Recordset object has MoveNext, MoveFirst, MovePrevious and 
MoveLast methods that provides a means for Data Traversal

With DataSet there is no pointer that points to the record, 
while a Bulk of Data is retrieved from the Database to the 
Computer's Memory, and the record is accessed via the index 
of the Record so retrieved.

With Recordset, has types of Cursors ie. Open Cursor and 
Data Manipulation Cursor, which enables the cursor to be 
open as read-only or dynamic (meaning for data 
manipulations)

With Dataset as bulk of data is loaded to the Memory, only 
Viewing operation is possible.

With Recordset, if the cursor is open as OpenDynamic and 
OpenOptimistic, the Data manipulated by 1 user, its effect 
is visible to the other user, leading to clear picture of 
the Database, while this is not the case in DataSet.

DataSet can be viewed as a ONE WAY HIGHWAY, where the data 
comes from Database to the Computer's Memory.
RecordSet can be viewed as a TWO WAY HIGHWAY, based on and 
according to the Cursor type selected in the recordset
 
Is This Answer Correct ?    5 Yes 2 No
Haynes R. Rajwadi
 
  Re: What is the difference between Dataset and Recordset?
Answer
# 5
The Recordset was not XML-based and could not be serialized 
to XML easily or flexibly.
Finally, a Recordset was not independent of a data store 
because it tracked a Connection object
and through its methods could send queries to the data 
source to populate, update,
and refresh its data.
To that end, the Recordset contained functionality found in 
the ADO.NET DataSet,
data reader, and data adapter objects.

Similar to the DataSet, a Recordset could be disconnected 
from its data store
and therefore act as an in-memory cache of data.
Of course, it could also be used in a connected model 
depending on the cursor options that were set.
Although the Recordset object stored multiple versions of 
each column for each of its rows,
it was not by nature able to represent multiple tables 
without the use of the Data Shape Provider.
 
Is This Answer Correct ?    6 Yes 2 No
Sathiyapriya
 
  Re: What is the difference between Dataset and Recordset?
Answer
# 6
1) With Data set you can retrive data from database like 
oracle and SQL Server and manage them in one dataset, with 
recordset this is not possible.

2) All representation of Dataset is using XML while 
recordset uses COM.

3) Recordset can not be transmitted on HTTP while Dataset 
can be
 
Is This Answer Correct ?    0 Yes 2 No
Rahul
 
  Re: What is the difference between Dataset and Recordset?
Answer
# 7
With Data set you can retrive data from database like 
oracle and SQL Server and manage them in one dataset, with 
recordset this is not possible.

2) All representation of Dataset is using XML while 
recordset uses COM.

3) Recordset can not be transmitted on HTTP while Dataset 
can be
 
Is This Answer Correct ?    0 Yes 1 No
Sanny
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
How to Insert a TextBox value in to Sql database using VB.Net coding?  3
Is there any easy way to convert VB6 programs to VB.Net?  3
What is "Friend" in VB.Net?  2
What are the objects in asp.net and tell the purpose of those objects Ascent2
What is CLR?  11
hey friends, Firstly I pick the records from the database into the DataGridView, Then I want that If I made any changes to the records in the GridView & Click on Update Button, Changes are Reflected into the main Database .Plz do reply back  3
if user enters 1 or 2 or any other number in digit format in next textbox it should show the answer in word reading like if enters 12 answer should be twelve  4
What is the relation between Garbage collector and finalize and destructor? Kanbay2
how to get sum of two numbers in vb.net?  3
Is VB.NET object oriented? What are the inheritances does VB.NET support ? Digital-GlobalSoft11
in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?  1
how to send data to exe file? my code has a button when i press it, an exe file will open. how can i send data as input to the exe file?  2
I want to reduce my CPU Usage when I am querying the Database for records. Now my Winform App(in VB.Net) suddenly Jumps to 100% CPU Usage when i query for records from sql server database. I want this Usage to be less. Any help is appreciated  2
is it possible to use flexgrid in vb dotnet? Microsoft7
what is the base class of .net?  6
hello! I am developing software in vb6 and vb.net separately which i need to generate barcodes e.g i have a string "182346-u",so the problem is that how to generate barcode from this type of string can any body help me please thanks regard !  2
what r the properties should be given to set method? PSI-Data-Systems2
hello dear friends my problem is that i want to save images that is pictures in SQL server using vb.net can any body help me to do so please  1
Regarding Types of compatability in VB and their usage ? Satyam1
I want to sample Hotel management project in vb.net because still now i am doing that project for small hotel....so please send me my email id is jmuthu_pearls@yahoo.com...  2
 
For more VB.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