bug fixed

This commit is contained in:
kamonwan taengsuk
2023-02-08 18:10:17 +07:00
parent b2ddfd2c97
commit e8115b3733
2 changed files with 66 additions and 0 deletions

View File

@@ -215,6 +215,8 @@ namespace rmutr_report.Controllers
ws.Cell(row, 23).Value = data1.value16;
ws.Range(ws.Cell(row, 1),ws.Cell(row,23)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row, 1),ws.Cell(row,23)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row,8),ws.Cell(row,23)).Style.Alignment.SetTextRotation(90);
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
ws.Cell(row, 1).Style.Border.LeftBorder = XLBorderStyleValues.Thin;
ws.Cell(row, 1).Style.Border.RightBorder = XLBorderStyleValues.Thin;