 | WorksheetGetFirstDataRowNumber Method |
Gets the first existing row number with data in the current worksheet (zero-based)
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntaxpublic int GetFirstDataRowNumber()
Return Value
Int32Zero-based row number. In case of an empty worksheet, -1 will be returned
RemarksGetFirstDataRowNumber() will ignore formatted but empty cells before the first row with data.
If you want the first defined row, use
GetFirstRowNumber instead.
See Also