3*NPOI获取列数和行数
//获取sheet的首行 Row headerRow = sheet.GetRow(0); //最后一个方格的编号 即总的列数 int cellCount = headerRow.LastCellNum; //最后一行的标号 即总的行数 int rowCount = sheet.LastRowNum;
//获取sheet的首行 Row headerRow = sheet.GetRow(0); //最后一个方格的编号 即总的列数 int cellCount = headerRow.LastCellNum; //最后一行的标号 即总的行数 int rowCount = sheet.LastRowNum;