Diff b/w DataReader,Dataset and Data table?

Answer Posted / venu

DataReader: datareader is forward only it is nt scrollable
and datareader fetch the records one by one.this is record
pointer to pointing to one by one record in connected
Architecture.

Dataset:dataset is contain table in Xml format.we can use
this forward to any operating system.it is Scrollable and
dataset contain in application memory.

Datatable: DataTable Contain a structured format it contain
a rows and columns.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

535


What are the main differences between classic ado and ado.net?

521


What is connection pooling and what is the maximum pool size in ado.net connection string?

522


What is the difference between typed and untyped dataset?

510


Define executenonquery?

527






What is the use of sqldatareader class?

478


how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

585


What is execute reader in ado.net?

495


Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?

587


Why is ADO.NET serialization slower than ADO ?

569


What is data adapter in ado.net with example?

522


What is Data Provider?

571


Which is the feature of ado.net?

528


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

545


What is the executescalar method?

586