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
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
What is the use of web.config and machine.config files?
What is cookies in asp net?
Describe the difference between inline and code behind - which is best in a?
What is the difference between session object and application object?
What is the purpose of asp.net?
What is state management technique?
Explain how is a property designated as read-only?
What is the difference between client-side and server-side validations in ASP.NET?
Explain the Order of events in an asp.net page?
Define xmlvalidatingreader class.
What is the difference between session and application?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Explain Features in ASP.NET
List the advantages and disadvantages of user control an custom control?