Can you explain the difference between an ADO.NET Dataset
and an ADO Recordset?
Answer Posted / kvnvani
1. In ADO recordset(in memory representation of data) looks
like single table
where as
in ADO.NET dataset(in-memory representation of data) is a
collection of one or more tables(use JOIN Query).
2. In ADO you communicate with the database by making the
calls to an OLEDB Provider
where as
in ADO.NET you communicate with the database through a Data
Adapter(an OledbDataAdapter,SQLDataAdapter,OdbcDataAdapter
or OracleDataAdapter object) which make calls to an OLEDB
Provider or the API's provided by the underlying datasource.
3. In ADO recordset objects operate in a fully connected
state
where as
in ADO.NET dataset operate in disconnected state.
4. ADO requires COM marshalling to transmit records sets
among components, does require that ADO data types be
converted to COM data types.
where as
ADO.NET does not require data-type conversions.
5. In ADO it is sometime sproblematic firewalls( firewalls
are typically configured to allow HTML text to pass, but to
prevent system-level requests (such as COM marshalling)
from passing) prevent many types of requets
where as
in ADO.NET datasets using XML, firewalls can allow datasets
to pass.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Do I need to have the latest version of windows media player installed?
Describe a Windows Service and its lifecycle ?
How do you do Client-side validation in .Net?
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
How do you hide the columns?
Why session is more secure than cookies?
What is OSI layer? Explain different layers.
What does clearing cache?
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
Define web.config in .net?
What is master page in dtp?
Does asp.net still recognize the global.asa file?
What are the steps to follow to host a web application on a web server?
What is session in http request?
What can we do with asp.net?