惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园_首页
宝玉的分享
宝玉的分享
S
SegmentFault 最新的问题
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
美团技术团队
IT之家
IT之家
罗磊的独立博客
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
月光博客
月光博客
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
博客园 - 叶小钗
M
MIT News - Artificial intelligence
B
Blog RSS Feed
有赞技术团队
有赞技术团队
Y
Y Combinator Blog

博客园 - 老飞飞

sql查找带百分号的数据 Jquery - 添加属性、添加class、添加Css 加载数据提示Min(5) must be less than or equal to max(-1) in Range object C# 中文件Stream转换成byte[]时候的一个注意事项 sql server的一个BUG? Js中日期处理的问题 SQL的经验教训 excle 分数排名 要听老人言,金钱用decimal RFC的表结构前面字段修改之后,持续执行的外围代码需要重启 找到子表中超过500条记录的数据 找到了一个动态调整css的方法 Sql必会-求用户连续登录天数 easyui gridview中toolbar中按钮的显示与否 列轉行,再行轉列 excel 2024的一个奇怪问题 乱七八糟的东西 [转]the collation conflict between "chinese_prc_ci_as" and "sql_latin1_general_cp1_ci_as" in the equal to operation Json中的字串为json文字的返回方法 关于C#中目录的一个小问题 A页面即时传值给B页面
NPOI设定某个格子的样式
老飞飞 · 2024-09-16 · via 博客园 - 老飞飞
                XSSFCellStyle headStyle = workBook.CreateCellStyle() as XSSFCellStyle;
                headStyle.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
                XSSFFont font = workBook.CreateFont() as XSSFFont;
                font.FontHeightInPoints = 10;
                font.Boldweight = 700;
                font.Color = IndexedColors.Red.Index;
                headStyle.SetFont(font);


                    IRow gapRow = sheet.CreateRow(lineCount);
                    gapRow.CreateCell(3 + i).SetCellValue(line4[i]);
                    if (line4[i] != 0)
                    {
                        gapRow.GetCell(3 + i).CellStyle = headStyle;
                    }               

  主要问题是两个as不能省。

posted @ 2024-09-16 21:26  老飞飞  阅读(60)  评论()    收藏  举报