add export excel

This commit is contained in:
kamonwan taengsuk
2023-02-07 17:06:15 +07:00
parent da83c3a288
commit 23c2e53d08
11 changed files with 934 additions and 6 deletions

View File

@@ -171,7 +171,7 @@ namespace rmutr_report.Controllers
XLBorderStyleValues.Thin;
ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
row++;
ws.Cell(row, 1).Value = "ตัวชี้วัดกลยุทธ์";
ws.Cell(row, 1).Value = "ตัวชี้วัดกลยุทธ์ : " + header.indicator_type_name_th;
ws.Cell(row, 1).Style.Fill.BackgroundColor = XLColor.Beige;
ws.Range(ws.Cell(row, 1), ws.Cell(row, 8)).Merge().Style.Border.OutsideBorder =
XLBorderStyleValues.Thin;