You might find a DataTable will be easier to work with than, say, an
ArrayList of ArrayList objects, particularly if you want the columns
to have an associated data type.
Performance is relative to your application and environment, but if
the result is something you could cache for later requests, you'd be
much better off.
--
Scott
On Mon, 5 Jul 2004 13:50:01 -0700, "PontiMax"
<PontiMax@discussions.microsoft.com> wrote:
[color=blue]
>Hi,
>
>is there a recommendable data structure for dynamic two-dimensional arrays?
>
>The data structure should meet the following requirements:
>
>- The number of rows is unknown on initialization.
>- The same applies to the column count.
>- The data type of the various columns is not known beforehand.
>- It should be easy to bind the data items to data grids.
>- Performance should be satisfactory even with thousands of rows.
>
>Any ideas?
>
>Thanks a lot,
>P.[/color]
--
Scott
http://www.OdeToCode.com