I'm not quite sure what comparison you are trying to make. In what situation would you trade off using an array versus a database?
On a potentially related note, ASP.NET 2.0 also has built-in features that provide for the caching of data from a database in web server memory, which can improve performance and reduce the number of requests the web server has to make to the database server for data.
You can also use datasets to make one initial call to the database, grab all of the data you want to work with in your application, then make all of the changes to the data in web server memory, then at the end of the session, push all of the changes back at once back to the database. I guess this is supposed to allow you to get more connections out of a single database server. I've not used this yet.
Neil Timmerman
Programmer II
School of Medicine
University of Missouri Columbia
|