As we know the max row number allowed in one excel worksheet is 65535.
I want to use UltraGridExcelExporter to export a grid which is with more than 65535 rows to excel but I find that you can only set the StartRow and StartColumn in the Export method. What I want is that you could also set some parameters such as EndRow so I can splite the grid into multi sheets.
Is there any easy solution to this problem?
Hi Kerry,
I'm not sure exactly what version the fix was made in. My recommendation would be to try getting the latest service release for v9.1, which is free.
If that does not help, then the only way to make it work would be to upgrade to the latest version.
So what versions is this actually fixed in? I'm in 9.1.
Hi,
I tried this out again, just to make sure it works, and it still works just fine for me. So my only guess is that you are not using the latest service release and there is a bug in the old version of NetAdvantage you are using.
I am attaching my sample project here so you can try it out. If my sample works for you, then something is wrong in your application. If my sample produces the same error, then it means it must be a problem with the version of NetAdvantage you are using.
Hello Mike
I am getting below error.
"Can't export more rows than MaxExcelRowCount. Use FileLimitBehaviour property if you want to change default behaviour."
I know we can set FileLimitBehaviour Property it has two value.
Truncate data ,Throw Exception
But as per my understanding
So if i will user Truncate data then it will truncate the data after Excel size limit and Thow exception means it will thorw exception to the client .
While Giving file name i am giving .XlSX extension .
Can you help me now what to do ?
You need to export to xlsx format. The easiest way to do that is to simply export to a filename that has an "xlsx" extension. The exporter will detect that and export to the correct format.