1. 阿杜:
ADO 由 Microsoft 于 1996 年推出,作为其 MDAC(Microsoft 数据访问组件)的组件。它基于 COM(组件对象建模)。 ADO 与 MDAC 的其他组件一起用作客户端应用程序访问数据存储的框架。它不需要了解数据库的实现,并降低了处理处理数据所需的低级代码的复杂性。
2. ADO.NET :
ADO.NET 是来自 Microsoft .NET Framework 的高级数据库技术,它提供应用程序系统和数据库服务器之间的通信。它是 .NET Framework 的一个组件,旨在处理断开连接的模型以访问数据存储中的数据。一些用于连接数据库服务器的 .NET 应用程序是 ASP.NET Web 应用程序、Windows 应用程序和控制台应用程序
ADO 和 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. |
7. | It allow us to create client side cursors only. | It give us the choice of using w=either client side and server side cursors. |
8. | It requires SQL JOINs and UNIONs to combine data from multiple tables in a single result table. | It uses DataRelational objects, for combining data from multiple tables without requiring JOINs and UNIONs. |
9. | It supports sequential access of rows in a RecordSet. | It allows completely non-sequential data access in DataSet through collection based hierarchy. |