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

In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

693


what is a .xap file? Explain with an example.

695


What is clr? Difference between clr & cts?

802


Explain the difference between webfarm and webgardens in .net?

652


How does session authentication work?

619






Can you use Web API with ASP.NET Web Form?

794


Can we have multiple master pages in asp net?

639


which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites

1823


Explain what the contents of cookie?

718


How would you turn off cookies on a page of a website?

618


What are the new data controls in asp.net 2.0?

651


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

622


Explain the use of fragment caching.

782


What is Cookies Less Session?

732


What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?

763