| 1. |
What Is The Difference Between Ado And Ado.net? |
|
Answer» ADO uses Recordsets and cursors to access and modify data. Because of its INHERENT design, Recordset can impact performance on the server side by tying up valuable resources. In addition, COM marshalling - an expensive data CONVERSION process - is needed to transmit a Recordset. ADO.NET addresses three important needs that ADO doesn't address: 1. Providing a comprehensive disconnected data-access model, which is crucial to the Web environment In ADO, the in-memory representation of data is the recordset. In ADO.NET, it is the dataset. A recordset looks like a single table. If a recordset is to CONTAIN data from multiple database tables, it must use a JOIN query, which ASSEMBLES the data from the various database tables into a single result table. In contrast, a dataset is a collection of one or more tables. ADO uses Recordsets and cursors to access and modify data. Because of its inherent design, Recordset can impact performance on the server side by tying up valuable resources. In addition, COM marshalling - an expensive data conversion process - is needed to transmit a Recordset. ADO.NET addresses three important needs that ADO doesn't address: 1. Providing a comprehensive disconnected data-access model, which is crucial to the Web environment In ADO, the in-memory representation of data is the recordset. In ADO.NET, it is the dataset. A recordset looks like a single table. If a recordset is to contain data from multiple database tables, it must use a JOIN query, which assembles the data from the various database tables into a single result table. In contrast, a dataset is a collection of one or more tables. |
|