Hi,
I am trying to figure this brain-bender out...
How to split an ArrayList of > 2500 items into seperate ArrayLists of <= 2500 items.
The size of the initial ArrayList may be anywhere from 2501 to 40,000 items. But i need to dynamically loop through and separate the list into <=2500 item ArrayLists and then pass these lists into a parameter for query.
Any help here would be greatly appreciated.
Thanks,
B
I am trying to figure this brain-bender out...
How to split an ArrayList of > 2500 items into seperate ArrayLists of <= 2500 items.
The size of the initial ArrayList may be anywhere from 2501 to 40,000 items. But i need to dynamically loop through and separate the list into <=2500 item ArrayLists and then pass these lists into a parameter for query.
Any help here would be greatly appreciated.
Thanks,
B