//先給第14行第0列的單元格賦值 sheet2.CreateRow(14).CreateCell(0).SetCellValue("PS:根據‘測試數據報表’中‘FM’項統計不良比例"); IFont font3 = wookbook1.CreateFont(); font3.Color = HSSFColor.Red.Index; style2.SetFont(font3); sheet2.GetRow(14).GetCell(0).CellStyle = style2;
//先給第14行第0列的單元格賦值 sheet2.CreateRow(14).CreateCell(0).SetCellValue("PS:根據‘測試數據報表’中‘FM’項統計不良比例"); IFont font3 = wookbook1.CreateFont(); font3.Color = HSSFColor.Red.Index; style2.SetFont(font3); sheet2.GetRow(14).GetCell(0).CellStyle = style2;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。