Difference between datareader and dataset ?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between visual basic and asp.net?
What is comparevalidator?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
What is http pipeline in asp.net?
What is a master page and what does it do?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
Explain different types of Caching techniques in ASP.NET?
What is a viewstate?
Define a web service in .net?
What is ispostback method in asp.net? Why do we use that?
How does u call and execute a sp in .net?
Where are session variables stored?
What is the flow of processing of the request? : asp.net mvc
What are the versions of garbage collection?
What are the different method of navigation in asp.net?