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

Can we use a static function with a non-static variable?

0 Answers  


what are the main advantage in .net?

4 Answers   TCS,


Distinguish between Server-side and Client-side code with its functionality?

0 Answers   Siebel,


Where is asp.net session stored?

0 Answers  


How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?

1 Answers  






What is the concept of postback in asp.net?

0 Answers  


If you have to replicate a set of controls(UI) across a number of web pages, what will you do

1 Answers  


What are the differnt types of handler in ASP.NET?

0 Answers   Sans Pareil IT Services,


What is the use of Administration tool in Asp.net 2.0?

2 Answers  


What are the different session state management options available in asp.net?

0 Answers  


How do you perform validations?

3 Answers   Microsoft,


what are Httpmodule and HttpHandler?

3 Answers   Microsoft, Wipro,


Categories