Hi,
Hi Nikhil,
Thanks for your posting and using Aspose.Cells.
It is Microsoft Excel XLSX format limitation. You cannot create more than 1048576 rows in Microsoft Excel and therefore Aspose.Cells also cannot create it.
You will have to keep your DataTable less than 1048576 rows or move your rest of rows in separate worksheet(s).
Once, you will split your rows into multiple worksheets, you can then convert them into PDF which will contain all of your rows sequentially. Because when you convert your workbook into PDF format, it first renders first worksheet, then it renders second worksheet, then third and so on. So all of your rows will be displayed sequentially as one set.