I need to read and write data from an Excel spreadsheet. Is there a method to finding out how many rows/columns a certain worksheet has using ExcelPackage? I have the following
You can get the row and column count using ExcelPackage (EPPlus.dll version 3.0.0.2) as below:
var rowCnt = worksheet.Dimension.End.Row; var colCnt = worksheet.Dimension.End.Column;