Home > DeveloperSection > Interviews > What is the difference between an ADO.NET Dataset and an ADO Recordset?

Posted on    January-27-2014 2:34 AM

 C# C# 
Ratings:
 1 Answer(s)
  1000  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    January-27-2014 1:00 AM

Dataset can fetch source data from many tables at a time, for Recordset you can achieve the same only using the SQL joins.

A DataSet can represent an entire relational database in memory, complete with tables, relations, and views, A Recordset can not.

A DataSet is designed to work without any continues connection to the original data source; Recordset maintains continues connection with the original data source.

DataSets have no current record pointer, you can use For Each loops to move through the data. Recordsets have pointers to move through them.

Don't want to miss updates? Please click the below button!

Follow MindStick