Hi Guys,
I need solution for the below use case -
If Excel data exceeds its row limit which is more than 10Lakh then want to write remaining Datatable in next sheet2 of the same excel file. And again if that sheet2 exceeds its row limit then append the data in next sheet3 and so on.
Thank You in advance !
Follow these steps:
Regards, Ashok
Assign Activity: TableList | List(Of DataTable) =
YourVeryBigDataTableVar.AsEnumerable.Chunk(ChunkSizeVar).Select(Function (x) x.CopytoDataTable).ToList
ChunkSizeVar is an int32 value controlling the segment size and has a max value of
So you can loop over TableList and write out the different DataTables to Excel