answersLogoWhite

0


Best Answer

The Recordset was not XML-based and could not be serialized to XML easily or flexibly.

Finally, a Recordset was not independent of a data store because it tracked a Connection object

and through its methods could send queries to the data source to populate, update,

and refresh its data.

To that end, the Recordset contained functionality found in the ADO.NET DataSet,

data reader, and data adapter objects.

Similar to the DataSet, a Recordset could be disconnected from its data store

and therefore act as an in-memory cache of data.

Of course, it could also be used in a connected model depending on the cursor options that were set.

Although the Recordset object stored multiple versions of each column for each of its rows,

it was not by nature able to represent multiple tables without the use of the Data Shape Provider.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

DataReader

____________________________________________________________________

DataReader provides forward-only, read-only access to result set.

Performance is better than DataSet

It will require you to open the connection through out and so it is not suitable for

interacting between different tiers.

You can't go backwards in DataReader

____________________________________________________________________

DataSet

-------------------------------------------------------------------------

DataSet is disconnected, in-memory representation of relational database

Performance is not as good as DataReader because of the overhead.

It is well suited to communicate remotely as it is disconnected and changes

can be updated whenever it is required.

You can access any data back and forth in DataSet

_______________________________________________________________

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between Datareader and dataset?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is datareader?

datareader is a ado.net object .it is connected


What is datareader in VBNET?

x


Define systemdata and its major classes?

There are 4 data set classes: 1) DataSet Constructor 2)DataSet Properties 3)DataSet Methods 4)DataSet Events


What is dataset?

A dataset is a group of information used to determain a hypothesis.


What is dataset in c sharp dotnet?

dataset is a ado.net object .it is adisconnected


What is the difference between dataset and database?

A dataset is a collection of structured data organized in a specific format for analysis. A database is an organized collection of data stored and accessed electronically, typically managed by a database management system (DBMS) that allows for efficient data retrieval and storage. In essence, a database can contain multiple datasets.


What is the maximum number of extents a dataset can allocate on one volume in VSAM dataset?

16


How do you transfer data in XML format by using ado dot net?

Dim dataSet As DataSet = New DataSet dataSet.ReadXml("input.xml", XmlReadMode.ReadSchema) dataSet.WriteXml("output.xml", XmlWriteMode.WriteSchema)


You create web form that display a grid view the grid view data source is a dataset named dsorders the dataset contain two datatables named orders and orderdetailsyou create a relation between the two?

newspaper


What is meant by dataset?

A data set (or dataset) is a collection of data, usually presented in tabular form.


What is an observation in a dataset?

It depends on the word usage (and what is being asked for). Usually, observation is the results of the experiment. In other words, experimental data. It can also refer to what the dataset shows you. For example, is there a significant deviation between the observed and expected results?


How would you describe a variance?

A variance is a statistical measure that quantifies the spread or dispersion of data points in a dataset. It indicates how much each data point differs from the mean of the dataset. A higher variance value suggests a wider spread of data points, while a lower variance value indicates a more clustered data distribution.