Difference between ADO and ADO.NET

1. ADO :
ADO was introduced in 1996 by Microsoft as its component of MDAC (Microsoft Data Access Components). It is based on COM (Component Object Modelling). ADO with other components of MDAC serves as a framework for client applications to access data stores. It removes necessitate to know implementation of database and lowers complexity of handling low level code requires for dealing with data.

2. ADO.NET :
ADO.NET is an advanced database technology from Microsoft .NET Framework which provides communication between application system and database server. It is a component of the .NET Framework that is designed to work on disconnected model to access data from data store. Some of the .NET applications which are used to connect with database server are ASP.NET web applications, windows applications and console applications



Difference between ADO and ADO.NET :

S.No. ADO ADO.NET
1. It is based on COM (Component Object Modelling). It is a CLR (Common Language Runtime) based library.
2. It works only when data store is connected. It does not needs active connection to access data from data store.
3. It has feature of locking. It does not have feature of locking.
4. It access and store data from data source by recordset object. It access and store data from data source by dataset object.
5. XML integration is not feasible in ADO. XML integration is feasible in ADO.NET.
6. In ADO, data is stored in binary form. While in this, data is stored in XML.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.