Difference between Dataset and DataReader ?
Answer Posted / payal
1)Data set is work in diconnected architure.
Datareader is work in connected architure.
2)according to speed datareader is faster than dataset.
3)In case of dataset it contain all
tables,relations,constriants which is not in datareader so
that speed of datareader is fast.
4)Data set can persist records where datareader is not.
5)we can save ,update data in dataset and save using
acceptchanges method where datareader cannot.
6)datareader is forward only.where dataset is not.
| Is This Answer Correct ? | 18 Yes | 8 No |
Post New Answer View All Answers
Is it possible to migrate visual interdev design-time controls to asp.net?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
Is post back in asp.net?
What are the event handlers that we can have in global.asax file?
What is a server farm in iis?
What are the steps to follow to host a web application on a web server?
What is asp net application object?
Why should i prefer JSP over asp.net or any other web development language..??
What are the advantages of using session?
What are html helpers in asp.net?
Explain code snippet to register exception filters from controller?
How can you pass multiple complex types in Web API?
What does the orientation property do in a menu control?
Which class is used to send an email message from an ASP.NET Web page?
What is difference between web api and web services?