bug fixed
This commit is contained in:
@@ -219,7 +219,7 @@ namespace rmutr_report.Controllers
|
||||
|
||||
foreach (var data1 in data.data_detail)
|
||||
{
|
||||
ws.Cell(row, 2).Value = data1.row;
|
||||
ws.Cell(row, 2).Value = rowno;
|
||||
ws.Cell(row, 3).Value = data1.name;
|
||||
ws.Cell(row, 4).Value = data1.unit;
|
||||
ws.Cell(row, 5).Value = data1.value;
|
||||
@@ -259,7 +259,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell(row, 8).Style.Border.RightBorder = XLBorderStyleValues.Thin;
|
||||
ws.Cell(row, 8).Style.Alignment.WrapText = true;
|
||||
row++;
|
||||
//rowno++;
|
||||
rowno++;
|
||||
|
||||
// if (rowno > 1)
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user