Difference between datareader and dataset ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by aggregate dependency?

760


Is it possible for me to change my aspx file extension to some other name?

754


What is a master page and what does it do?

680


What is the difference between equals() and == in c#?

710


What are strong names?

750






Explain about the .NET framework?

780


Explain diff. Betn dataset and recordset?

714


How long the items in ViewState exists?

1141


Which is better php or asp.net?

665


Does asp.net still recognize the global.asa file?

689


What is the difference between a cookie and a pixel?

618


What is difference between view state and session state?

628


What is session and cookies in asp.net?

706


What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

1180


Why we use asp.net for website development?

649