1

Is there any maximum size for a cell of data in a DataTable (like a byte[]), or can you grow it until the system runs out of memory?

4

1 回答 1

5

There is no hardcoded limit.

If you're storing it as a byte[], you'll have a 2GB limit (even on 64bit systems), since you cannot make an array with more than Integer.MaxValue elements, which, with byte per element, would be 2GB.

于 2009-09-03T17:57:47.937 回答