Connected and disconnected data access in ADO.NET

Define connected and disconnected data access in ADO.NET.

You have 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.
CommandType property of a SQLCommand in ADO.NET
ADO.NET - CommandType property of a SQLCommand in ADO.NET - A SQLCommand has CommandType property which can take Text, Storedprocedure or TableObject as value.
Dataview component of ADO.NET
Dataview component of ADO.NET - A DataView object allows you work with data of DataTable of DataSet object..
Ways to create connection in ADO.NET
Ways to create connection in ADO.NET - There are two ways to create connection supported by ADO.NET...
Post your comment
Discussion Board
noo
nice1
anonomas 03-31-2016