Difference between ADO and ADO.net ?

Answer Posted / lucky

ADO and ADO.NET are different in several ways:

* ADO works with connected data. This means that when
you access data, such as viewing and updating data, it is
real-time, with a connection being used all the time.
This
is barring, of course, you programming special routines
to
pull all your data into temporary tables.
* ADO.NET uses data in a disconnected fashion. When you
access data, ADO.NET makes a copy of the data using XML.
ADO.NET only holds the connection open long enough to
either pull down the data or to make any requested
updates.
This makes ADO.NET efficient to use for Web applications.
It's also decent for desktop applications.
* ADO has one main object that is used to reference
data, called the Recordset object. This object basically
gives you a single table view of your data, although you
can join tables to create a new set of records. With
ADO.NET, you have various objects that allow you to
access
data in various ways. The Dataset object will actually
allow you to store the relational model of your database.
This allows you to pull up customers and their orders,
accessing/updating the data in each related table
individually.
* ADO allows you to create client-side cursors only,
whereas ADO.NET we don't have any cursor support in
ADO.NET.
* ADO allows you to persist records in XML
format, ADO.NET allows you to manipulate your data using
XML as the primary means. This is nice when you are
working
with other business applications and also helps when you
are working with firewalls because data is passed as HTML
and XML.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method in OLEDBAdapter is used to populate dataset with records?

557


How to Read, Add, Update and Delete record in Entity Framework ?

560


What is sqldatareader in ado.net?

497


Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!

1635


Define executenonquery?

517






What are the different methods available under the sqlcommand class to access the data?

571


What is the advantage of ado.net?

538


How is entity framework different from ado.net?

479


What is ado.net tutorial?

498


What does ado stand for?

514


How to generate a single aggregate?

537


What is the use of adodc?

522


Explain the difference in record set and dataset?

482


How to check if a datareader is closed or opened? IsClosed()

573


What is datatable in ado.net?

517