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
Why do we use asp.net?
What is data grid view in asp.net?
What is asp.net web pages?
Explain transparent caching with aop?
Where the assembly is stored in asp.net?
How could you modify xaml content from javascript?
What is Web Server Control Templates.?
What is a query string in a url?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
What is postback pixel?
What is app_code folder in asp net?
Is react a template engine?
What is the concepts of globalization and localization in .net?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
Define asp.net caching?