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 scope of an application variable in asp.net?
Which platform does Microsoft .NET use for exchanging data between applications?
code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications
Explain the difference between array and linkedlist?
Explain an object, class and method.
What should you do is you want to remove an existing component but would like to make some funtionalities?
What is difference between session and application in asp net?
Mention the namespace that is used to include .net data provider for sql server in .net code?
I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?
What is asynchronous call?
Differentiate globalization and localization.
What are server-side comments in ASP.NET?
What is difference between session and viewstate?
What does the .webpart file do?
How to create multi language website in asp.net mvc? : Asp.Net MVC