wyrd
Well-known member
Sorry if this has been discussed (I looked through the pages real quick and didnt see any topics on it), but here goes...
Is there any place where I can read up on DataSets and DataReaders and the performance related between the two?
Im curious as to when its best to use one over the other, or which situations it probably wouldnt matter. Some seem obvious, such as multiple clients using the same database over a network (DataSets) or you just want to quickly retrieve some records from a database where no updating etc is involved (DataReader). However theres that middle portion for small business type apps where youre only dealing with a few thousand records (and the client is on the same computer as the database). On top of all this, in ASP.NET DataSets are created in memory on the server, which opens a whole new can of worms on when to use which.
Is there any place where I can read up on DataSets and DataReaders and the performance related between the two?
Im curious as to when its best to use one over the other, or which situations it probably wouldnt matter. Some seem obvious, such as multiple clients using the same database over a network (DataSets) or you just want to quickly retrieve some records from a database where no updating etc is involved (DataReader). However theres that middle portion for small business type apps where youre only dealing with a few thousand records (and the client is on the same computer as the database). On top of all this, in ASP.NET DataSets are created in memory on the server, which opens a whole new can of worms on when to use which.