DataReader
provides forward-only and read-only access to data, while theDataSet
object can hold more than one table (in other words, more than one row set) from the same data source as well as the relationships between them.DataSet
is a disconnected architecture whileDataReader
is a connected architecture.DataSet
can persist contents whileDataReader
cannot persist contents, they are forward only.
Wednesday, August 22, 2012
What is the difference between DataSet and DataReader?
Labels:
Ado.Net
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment