Solved

Dynamicaly sizing two dimensional array?

Posted on 2004-04-23
2
182 Views
Last Modified: 2010-04-01
Is there anything that would be equivalent to a dynamicaly sizing two dimensional array?

I want to read a database resultset into something that I can return....
0
Comment
Question by:chambers777
2 Comments
 
LVL 9

Expert Comment

by:Nick_72
ID: 10902289
You could use a Vector, which you can size dynamically, and in each Vector element you store another Vector.

/Nick
0
 
LVL 7

Accepted Solution

by:
searlas earned 50 total points
ID: 10907731
More generally, return a List of Lists, choosing the implentation most sutiable wrt synchronization (Vectors are synchronized - i.e. thread safe, ArrayLists are not)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In t…
This article discusses how to implement server side field validation and display customized error messages to the client.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question