Max Columns Datatable

  • Thread starter Thread starter Derek Hart
  • Start date Start date
Derek,

It seems to be a large amount. It is just an ArrayList.

You can test it yourself with this code

Dim dt as New DataTable
for i = 0 to 1000000000000
dt.Columns.Add(i.ToString)
next

When it stops you can have a look what i is. Probably it is only depending
the free memory in your workstation.

Cor
 
Back
Top