A couple weeks ago (April 19th) I gave a talk to the local San Diego ASP.NET SIG and during my talk I mentioned how I, personally, rarely, if ever, use DataSets in my ASP.NET applications, sticking with the good ol' DataReader instead. Since then I have received a number of emails from attendees asking me why I don't use DataSets. Rather than responding to each questioner individually, I decided to write an article explaining my rationale.
This article is currently being worked on over at 4Guys, and can be accessed at http://aspnet.4guysfromrolla.com/articles/050405-1.aspx. I'm posting this to my blog because I'm interested in hearing any comments/questions/feedback regarding the article or claims made within before going “live.”
Do you use DataSets in your ASP.NET application? If so, why? Read the article and then tell my why you use DataSets, please. I'm looking for some good, real-world reason as to why you should be using a DataSet. The only answers I've ever come up with is (a) because it's easier sometimes, and (b) a client wants a Web application that behaves precisely like a standard data-entry desktop application, where the user can make a bevy of changes, but no changes are committed to the database until they click some sort of "Update" button.
Thanks!