DEFINE CONNECTED AND DISCONNECTED DATA ACCESS IN ADO.NET?

Pushpendra Singh

Total Post:241

Points:1205
Posted by  Pushpendra Singh
DB2 
DB2
 1160  View(s)
Ratings:
Rate this:
  1. Rajesh Goswami

    Post:85

    Points:425
    Define connected and disconnected data access in ADO.NET?

    Connected data access through the DataReader objects of data provider. This object requires exclusive use of the connection object. It can provide fast and forward-only data access. It doesn't allow editing.

     Disconnected data access is achieved through the DataAdapter object. This object establishes connection, executes the command, load data in the DataSet. The dataset works independent of database. It contains data in the memory and can edit the data. The changes in the data can be transmitted to the database using Update method of DataAdapter object. 

Answer

NEWSLETTER

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