A DataSet is a series of collection classes based on the ArrayList. ;-) Therefore, the
only thing that you gain by using a DataReader to populate an ArrayList is that you
don't allocate the (relatively) small bits of storage used to store column
definitions, table definitions, etc. If your ArrayList is relatively small, those
might be extra overhead, if not....
Bob Beauchemin
[EMAIL PROTECTED]
-----Original Message-----
From: Greg Gates [mailto:[EMAIL PROTECTED]]
Sent: Tue 6/4/2002 1:15 PM
To: [EMAIL PROTECTED]
Cc:
Subject: [DOTNET] ArrayList vs. DataSet
Hello:
What are the advantages and disadvantages of eschewing the DataSet in
favour of using a DataReader to populate objects and adding the
objects to an ArrayList? I'm wondering about the performance/flexibility
tradeoffs.
thanks, Greg
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
(Ƨ杙,j~&93DM܆+{.n+93DN칻&-z++-aجr,uޖ\