diff --git a/Controllers/DisableController.cs b/Controllers/DisableController.cs index be2936f..5bc8e6a 100644 --- a/Controllers/DisableController.cs +++ b/Controllers/DisableController.cs @@ -765,7 +765,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers { // loop from sheet2 to end - for (int i = 1; i < c_package.Workbook.Worksheets.Count; i++) + for (int i = 0; i < c_package.Workbook.Worksheets.Count; i++) { var workSheet = c_package.Workbook.Worksheets[i]; var totalRows = workSheet.Dimension.Rows; @@ -1129,7 +1129,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers { // loop from sheet2 to end - for (int i = 1; i < c_package.Workbook.Worksheets.Count; i++) + for (int i = 0; i < c_package.Workbook.Worksheets.Count; i++) { var workSheet = c_package.Workbook.Worksheets[i]; var totalRows = workSheet.Dimension.Rows; @@ -1378,7 +1378,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers using (var c_package = new ExcelPackage(new FileInfo(importFile))) { // loop from sheet2 to end - for (int i = 1; i < c_package.Workbook.Worksheets.Count; i++) + for (int i = 0; i < c_package.Workbook.Worksheets.Count; i++) { var workSheet = c_package.Workbook.Worksheets[i]; var totalRows = workSheet.Dimension.Rows;