Re: Which collection should be used for Extract from database
Monday, July 16, 2007 08:45 AM
it depends on the type of the data you receive from the database.
If all rows are unique (in the sense not the primari key i mean the hashcode), then you can got for HashSet or ArrayList.
I think any way you want to display all of them in the form of a table. go for Arraylist.