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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top