Diff. b/w DataReader and DataSet?

Answer Posted / tejas mer

DataReader is connected architecture and it's read-only, forward only type, so when you just want to display the data better to use it, it consumes less memory with compare to dataset as well.

DataSet is we can say in-memory representation of the data.
It's disconnected architecture.
Contains DataTables, which are further divided into Datarows and Datacolumns.
Also contains DataRelationships and Contraints...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ole in vb?

500


Describe the command object and its method.

517


Explain the advantages and disadvantages of using datalist?

602


What is the difference between sqldatareader and sqldataadapter?

484


What are the namespaces used in ADO.Net to connect to a database?

589






If a table contains 20000 records. In a page at each time 100 records to be displayed.

509


What is the role of clr?

525


Explain what is datagrid with an example?

577


What is ado.net explain with diagram?

505


What is ole word?

519


Explain how to call the sql commands asynchronously in ado.net version 2.0?

498


How to find the given query is optimised one or not?

500


What is difference between connected and disconnected architecture in ado.net?

575


What is ambient transaction?

498


What is connection string?

520