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
The best way to get the total of rows and columns is with these methods:
int col = sheet.Dimension.Columns; int row = sheet.Dimension.Rows;