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 |
What are all components of ADO.Net data provider?
What is ado connection?
Explain how do you connect to sql server database without using sqlclient?
What are the differences between OLEDB and SQLClient Providers?
How to perform sorting on a table in ADO.NET?
0 Answers Petranics Solutions,
What is the use of parameter object?
How do you handle data concurrency in .NET ?
What do you mean by ‘batch updates’?
What is the use of command objects?
Can we bind one datareader wid two dropdown list?
What is full form of ado?
How can we load multiple tables in a dataset?