If you program in terms of interfaces like ICollection and IEnumerbale, which are supported by both ArrayList and the child collections of DataSet, you can interchange either implementation where appropriate. This would make either solution 'flexibility-neutral'.
Nick ----- Original Message ----- From: "Greg Gates" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 6:15 AM 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. > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.