what are the differences between dataset and datareader?
Answers were Sorted based on User's Feedback
Answer / hardik
dataset is a disconnected architecture while a datareader
is a connected architecture object.
data reader is a faster than a dataset
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / anu
DataSet : you can move forward\backward of the data.It can
be Edited.It acts as a database after the connection is
closed.
Reader : It Just moves forward only.And cannot edit it is
only for Read Only purpose.For this connection object will
be there till u read all the values.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ramireddy eevuri
--> Dataset is disconnected architecture while
DataReader is connected architecture.
-->datareader is read only i.e, forward only while dataset
maintain persistanse data.
| Is This Answer Correct ? | 1 Yes | 0 No |
dataset support manpulation,datareader doesnot support
manpulation
datareader is abstract class
dataset is collection of table
datareader is readonly forwardonly record type
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the advantages using ado.net?
What does datareader object do?
What is the difference between executenonquery () and executescalar ()?
How xml files and be read and write using dataset ?
What is namespace in ado.net?
Which namespaces are used for data access?
0 Answers SwanSoft Technologies,
What is ado.net architecture?
How to maintain the relation between two tables in ADO.NET?
0 Answers Petranics Solutions,
What is the use of sqldatareader class?
What are basic methods of dataadapter?
What is openrowset?
Can we bind one datareader wid two dropdown list?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)