Differentiate between Dataset and Recordset.
Answers were Sorted based on User's Feedback
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 |
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 |
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?
Which are the different IsolationLevels ?
What are the benefits of using ado.net?
What does executequery return?
How to check if a datareader is closed or opened? IsClosed()
Is ado.net dead?
what is clustered index?why is it created?
What is a datagrid?
What are the key events of sqlconnection class?
If we are not returning any records from the database, which method is to be used?
can we execute trigger normally at the desired time?
What are major difference between classic ADO and ADO.NET?