Differentiate between Dataset and Recordset.

Answers were Sorted based on User's Feedback



Differentiate between Dataset and Recordset...

Answer / skmdali786

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.
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.

Is This Answer Correct ?    17 Yes 4 No

Differentiate between Dataset and Recordset...

Answer / guest

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.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More ADO.NET Interview Questions

oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?

0 Answers   Infosys, Wipro,


Which are the different IsolationLevels ?

3 Answers  


What are the benefits of using ado.net?

0 Answers  


What does executequery return?

0 Answers  


How to check if a datareader is closed or opened? IsClosed()

0 Answers  






Is ado.net dead?

0 Answers  


what is clustered index?why is it created?

4 Answers   Microsoft, Wipro,


What is a datagrid?

4 Answers  


What are the key events of sqlconnection class?

0 Answers  


If we are not returning any records from the database, which method is to be used?

0 Answers  


can we execute trigger normally at the desired time?

3 Answers   Microsoft,


What are major difference between classic ADO and ADO.NET?

2 Answers  


Categories