Difference between datareader and dataset ?
Answers were Sorted based on User's Feedback
Answer / j_baghla
Datareader is used for readonly-forward only data.We can't
update the database by datareader.We can store more than
one resultset in the datareader so we can't create the
relations between the tables.There is no record pointer to
read the data in the datareader.We can read the datat from
the datareader by using reader method.
Dataset can contain more than one table and we can create
relationships among those tables.we can read the data by
for each loop.Dataset can contain data from different
datasources like oracle,sqlserver,access etc.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / jagadeesh naidu
Datareader is used for readonly-forward only data.We can't
update the database by datareader.We can store more than
one resultset in the datareader so we can't create the
relations between the tables.There is no record pointer to
read the data in the datareader.We can read the datat from
the datareader by using reader method.
Dataset can contain more than one table and we can create
relationships among those tables.we can read the data by
for each loop.Dataset can contain data from different
datasources like oracle,sqlserver,access etc.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anita
datareader is component of connected environment is used to
retreive the value from datasource ,on the otherhand dataset
is the component of disconnected environment.it contain
datatable s .
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / harsh v m
DataReader acts like Readerset of ADO.In ADO.NET we make
use of Datasets & in ADO, Readersets are used.
DataReader is read only,forward only type and Dataset is
disconnected type that can store more than one table.Hence
Datareaders are used for reading some data from database
only,but not for updating the data.Whereas Datasets can be
used for later purpose.
Is This Answer Correct ? | 1 Yes | 3 No |
How many types cache in asp net?
What is difference between user control and custom control?
why we are using delegates and in which condition it is required?
What is server components?
How would ASP and ASP.NET applications run at the same time on the same server?
How would you get asp.net running in apache web servers? Explain it's limitations.
Explain an object, class and method.
8. Why do you want to work here?
0 Answers Global Achievers, Swatz Oils,
What is authorization in asp.net?
How asynchronous call can be implemented using delegates?
What are triggers of an updatepanel?
Difference between server.Execute and response.redirect ?
5 Answers Accenture, Keane India Ltd,