bug fixed
This commit is contained in:
@@ -170,6 +170,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(rowhead, col).Style.Border.RightBorder = XLBorderStyleValues.Thin;
|
ws.Cell(rowhead, col).Style.Border.RightBorder = XLBorderStyleValues.Thin;
|
||||||
ws.Cell(rowhead,col).Style.Font.FontName = "TH Sarabun New";
|
ws.Cell(rowhead,col).Style.Font.FontName = "TH Sarabun New";
|
||||||
ws.Cell(rowhead,col).Style.Font.FontSize = 16;
|
ws.Cell(rowhead,col).Style.Font.FontSize = 16;
|
||||||
|
ws.Cell(rowhead,col).Style.Alignment.WrapText = true;
|
||||||
col++;
|
col++;
|
||||||
var a = _kpi.agencys.Count;
|
var a = _kpi.agencys.Count;
|
||||||
|
|
||||||
@@ -748,6 +749,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,26)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,26)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,26)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,26)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Range(ws.Cell(row,8),ws.Cell(row,26)).Style.Alignment.SetTextRotation(90);
|
ws.Range(ws.Cell(row,8),ws.Cell(row,26)).Style.Alignment.SetTextRotation(90);
|
||||||
|
ws.Range(ws.Cell(row,8),ws.Cell(row,26)).Style.Alignment.WrapText = true;
|
||||||
|
|
||||||
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||||
ws.Cell(row, 1).Style.Border.LeftBorder = XLBorderStyleValues.Thin;
|
ws.Cell(row, 1).Style.Border.LeftBorder = XLBorderStyleValues.Thin;
|
||||||
|
|||||||
@@ -182,6 +182,7 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(rowhead, col).Style.Border.RightBorder = XLBorderStyleValues.Thin;
|
ws.Cell(rowhead, col).Style.Border.RightBorder = XLBorderStyleValues.Thin;
|
||||||
ws.Cell(rowhead,col).Style.Font.FontName = "TH Sarabun New";
|
ws.Cell(rowhead,col).Style.Font.FontName = "TH Sarabun New";
|
||||||
ws.Cell(rowhead,col).Style.Font.FontSize = 16;
|
ws.Cell(rowhead,col).Style.Font.FontSize = 16;
|
||||||
|
ws.Cell(rowhead,col).Style.Alignment.WrapText = true;
|
||||||
col++;
|
col++;
|
||||||
var a = _kpi.agencys.Count;
|
var a = _kpi.agencys.Count;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user