What are good ADO.NET object(s) to replace the ADO
Recordset object.



What are good ADO.NET object(s) to replace the ADO Recordset object...

Answer / ch.raviteja

The differences includes
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 in ADO
In contrast, a dataset is a collection of one or more tables in ADO.net

ADO is designed primarily for connected access
ADO.net the disconnected access to the database is used

In ADO you communicate with the database by making calls to an OLE DB provider.
In ADO.NET you communicate with the database through a data adapter (an OleDbDataAdapter, SqlDataAdapter, OdbcDataAdapter, or OracleDataAdapter object), which makes calls to an OLE DB provider or the APIs provided by the underlying data source.

In ADO you cant update the database from the recordset. ADO.NET the data adapter allows you to control how the changes to the dataset are transmitted to the database.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Dot Net General Interview Questions

What are the benefits of Model-View-Controller Architecture?

1 Answers  


Please explain what is immutability, what is it for and how is it codified?

0 Answers  


What is the difference between a Hash Table and a Dictionary?

1 Answers  


what is the difference between class and structures?

2 Answers  


Tell us what is the native image generator?

0 Answers  






What are nullable types in .NET

0 Answers   TryTechnicals Pvt Ltd,


What is CCW (COM Callable Wrapper) ?

1 Answers  


Explain manifest & metadata.

5 Answers   Wipro,


How does linq work?

0 Answers  


Readonly vs. const?

2 Answers   Hewitt,


Explain the main components in .net?

0 Answers  


you have a requirement from client, he has an XML file and you need to insert the data into 5-6 tables in database. explain me the procedure.

2 Answers   Deloitte,


Categories