Difference between datareader and dataset?

Answer Posted / govind.r

DataReader: It is used only read the data and execute the
data in database.
DataSet: But,It contain only collection of database.Not for
read and execute to the data in database.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a data control clerk?

778


What DataReader class do in ADO.NET ?

790


Which method is used by command class to execute SQL statements that return single value?

773


What is different between sqlcommand object and command behavior object?

741


What is an ado connection?

720


What is namespace in ado.net?

692


What is data view and variable view?

676


Which object needs to be closed?

1989


What is executequery?

695


What are the difference between readonly vs. Const?

703


What is Data view?

786


What is the role of clr?

729


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

800


What is dataset object? Explain the various objects in dataset.

822


Why is it important to close an ado.net application?

765