Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?

Answers were Sorted based on User's Feedback



Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?..

Answer / irfanpathan

Dataset is used to get the data from database by creating
objects..After getting data we should store that data.we
use SQLDATAADAPTER for storing data..after storing we will
give connection with SQLCONNECTION class.and then we bind
the data using DATABIND..This total process is appliued
with DATASET.
where as DATAREADER is also for getting data through
database.But it is faster in access.we wont use DATAREADER
because of performance problem..
i too dont know record set..

Is This Answer Correct ?    9 Yes 3 No

Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?..

Answer / lavanya

With Dataset can retrive the data from two database like
oracle, SQl and merge in one table. Record set is not
possible.

All representation of dataset is using XML while record set
use COM.

Recordset can not be transmitted on HTTP while Dataset can
be.

Is This Answer Correct ?    6 Yes 1 No

Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?..

Answer / lovenier

We use DataSet to retrieve data from database in disconnected mode, but in the data RecordSet it retrieve data in connected mode..
DataSet is designed to work without any continuing connection to the orignal database, but RecordSet is Required a connected environment.
Data in DataSet is bulk loaded, rather than being loaded on demand.
DataSet have no concept of Cursor and current pointer, you can use for each loops to move through data.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is user control in asp.net?

0 Answers  


what is Disco?what it will do?

2 Answers   Microsoft,


How do you perform validations ?

2 Answers   Microsoft,


if i have a web page, and after the postback i dont to maintain the viewstate. How can we maintain in web application?

4 Answers   CGI,


Define managed code and managed data in .net?

0 Answers  






Why session is necessary in web application?

0 Answers  


True or False: To test a Web service you must create a windows application or Web application to consume this service?

1 Answers  


How many classes can a single .NET DLL contain?

2 Answers  


Explain the difference between sql invalidation and sql notification.

0 Answers  


i want to develope a page for online test using asp.net with c#.net. so, how to insert the questions in the database sqlserver2000 and how to pick the questions randomly when user login for test. plz send the code for this....

3 Answers   Chaitanya, Crysalis, CTS, HCL, Sein Infotech, TCS,


Do you know using sql cache invalidation?

0 Answers  


What is a web api?

0 Answers  


Categories