Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Commented Unassigned: Invalid Row Number [12645]

$
0
0
I am running version 1.2.3.0 in a .NET C# web application, and am having issues with errors whenever the row count goes over 65565. Does the newer version (1.2.5.0) resolve this issue?

Here is the stack trace
[ArgumentException: Invalid row number (65536) outside allowable range (0..65535)]
NPOI.HSSF.UserModel.HSSFRow.set_RowNum(Int32 value) +297
NPOI.HSSF.UserModel.HSSFRow..ctor(HSSFWorkbook book, HSSFSheet sheet, Int32 rowNum) +164
NPOI.HSSF.UserModel.HSSFSheet.CreateRow(Int32 rownum) +78

any help would be appreciated.
Thank you,
Steve
Comments: ** Comment from web user: tonyqus **

it's the limitation of xls format. Microsoft defines this limitation instead of NPOI. You can try xlsx with NPOI 2.0. No limitation of 65535 anymore.


Viewing all articles
Browse latest Browse all 1621

Trending Articles