Difference between ADO and ADO.net ?
Answer Posted / ajit
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 ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is a column variable?
What is an orm, and why would you use one instead of plain old ado.net?
How many major types of connection objects in ADO.NET?
Command objects uses, purposes and their methods.
What is the difference between connected and disconnected environment?
What are the advantages and drawbacks of using ado.net?
Which method is used to sort the data in ADO.Net?
What is ado and dao?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
What is bubbled event can you please explain?
How to retrieve the user id which is provided while windows authentication?
Why ca not we use multiple inheritance and garbage collector paralelly in .net?
What are the steps you will take to improve performance? Will you use dataset or datareader?
Explain how to create dynamic gridview?
Is bulk insert faster than insert?