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
Can any body provide me the sample web application in asp.net
What is a server cookie?
What is server transfer?
What is preprocessor in .net?
How does a content page differ from a master page?
What is the asp.net mvc folder conventions? : asp.net mvc
Explain how cookies work.
What is the use of asp.net web api?
What does passport and windows authentication mean in ASP.NET?
What are html helpers in asp.net?
What is the purpose of master page?
How many validators do ASP.NET have?
Describe the master page.
What is latest version of asp.net mvc? : Asp.Net MVC
Where web.config file is used?