Difference between ADO and ADO.Net

Answer Posted / manumole

ADO is a com base library that supports only connected
data. This means that when we access the data (view, edit
and update) it is affected in real-time,since the
connection is being used all the time. ADO uses the objects
as reference data known as Recordset object. Hence it
basically gives a single table view of the data. We can
also join tables to create a new set of records in ADO.ADO
allows to create only client-side cursors. Using ADO we can
persist records in XML format and XML integration is not
possible.

ADO.NET is a CLR based library that supports disconnected
recordsets. This means that When we access data, ADO.NET
makes a copy of the data using XML and holds the connection
to pull down the data or to make any requested updates as
long as we need. The best method to follow is
ADO.NET.ADO.NET uses various objects known as Dataset that
allow to access data in various methods. Hence it allows to
store the relational model of the database and helps us to
access /update the data in each related table individually.
ADO.NET supports both client-side and server-side cursors.
Also the cursors are handled as classes in ADO.NET
providing a way to create efficient applications. Using
ADO.NET we can manupulate records in XML format. Also
ADO.NET 2.0 provides Multiple Active ResultSets (MARS)
which allows to have two datareader on one connection open
at sametime.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to maintain the relation between two tables in ADO.NET?

540


What is dataadapter in ado.net?

500


If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?

619


What does sqldatareader return?

502


How can we check that some changes have been made to dataset since it was loaded?

519






Why is stored procedure used in ado.net?

549


Does entity framework use ado.net?

507


What is execute scalar in ado.net?

502


What is linq and entity framework?

517


What is data relation in ado.net?

520


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

555


Can we do database operations without using any of the ado.net objects?

538


What is ado.net code?

523


What is XML serialization

591


How many major types of connection objects in ADO.NET?

596