WHAT IS THE DIFFERENCE BETWEEN AN ADO.NET DATASET AND AN ADO RECORDSET?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
C# 
C#
 1231  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    What is the difference between an ADO.NET Dataset and an ADO Recordset?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!