What are major difference between classic ADO and ADO.NET?

Answers were Sorted based on User's Feedback



What are major difference between classic ADO and ADO.NET?..

Answer / subramaniam

ADO is a com base library that supports only connected
data. This means that when we access the data (view, edit
and update) it is affected in real-time,since the
connection is being used all the time. ADO uses the objects
as reference data known as Recordset object. Hence it
basically gives a single table view of the data. We can
also join tables to create a new set of records in ADO.ADO
allows to create only client-side cursors. Using ADO we can
persist records in XML format and XML integration is not
possible.

ADO.NET is a CLR based library that supports disconnected
recordsets. This means that When we access data, ADO.NET
makes a copy of the data using XML and holds the connection
to pull down the data or to make any requested updates as
long as we need. The best method to follow is
ADO.NET.ADO.NET uses various objects known as Dataset that
allow to access data in various methods. Hence it allows to
store the relational model of the database and helps us to
access /update the data in each related table individually.
ADO.NET supports both client-side and server-side cursors.
Also the cursors are handled as classes in ADO.NET
providing a way to create efficient applications. Using
ADO.NET we can manupulate records in XML format. Also
ADO.NET 2.0 provides Multiple Active ResultSets (MARS)
which allows to have two datareader on one connection open
at sametime.

Is This Answer Correct ?    17 Yes 2 No

What are major difference between classic ADO and ADO.NET?..

Answer / pranshu sharma

In ADO, the in-memory representation of data is the
recordset. In ADO.NET, it is the dataset. There are
important differences between them.

Is This Answer Correct ?    12 Yes 1 No

Post New Answer

More ADO.NET Interview Questions

What is ODP.NET?

2 Answers   Microsoft,


ADO.NET is Disconnected Architecture. DataReader is connected Architecture, but DataReader is a part of ADO.NET. How is it possible?

3 Answers   Zensar,


If a table contains 20000 records . In a page at each time 100 records to be displayed. What are the steps u will take to improve performance? will you use dataset or datareader?

7 Answers  


What is disconnected architecture in ado.net?

0 Answers  


what is connection pooling ?

3 Answers   Vertex,






What is the usage of the dataset object in ado.net?

0 Answers  


What is dataadapter in ado.net?

0 Answers  


What is aggregate root?

0 Answers  


Explain how to call the sql commands asynchronously in ado.net version 2.0?

0 Answers  


What are the 3 major types of connection objects in ado.net?

0 Answers  


Which method in OLEDBAdapter is used to populate dataset with records?

0 Answers  


How to check if a datareader is closed or opened?

1 Answers  


Categories