热门
最新
红包
立Flag
投票
同城
我的
发布
CSRAWD
4 年前
truecsrawd
请问一下大家伙:
有什么国内的Angular开源项目推荐吗
这几天领导让去搞angular,搞得头大,GitHub上看得眼花缭乱,不知道怎么选择,希望大家伙能不吝赐教
下一条:
//创建工作薄HSSFWorkbook book = new HSSFWorkbook();//添加一个sheetISheet sheet1 = book.CreateSheet("Sheet1");//创建首行IRow row = sheet.CreateRow(0);//行中创建第一列.ICell cell = row.CreateCell(0);//创建一个样式ICellStyle title = book.CreateCellStyle();//背景灰色title.FillForegroundColor = HSSFColor.Grey50Percent.Index;title.FillPattern = FillPattern.SolidForeground;//添加边框title.BorderBottom = BorderStyle.Thin;title.BorderLeft = BorderStyle.Thin;title.BorderRight = BorderStyle.Thin;title.BorderTop = BorderStyle.Thin;//文本居中title.Alignment = HorizontalAlignment.Center;//垂直居中title.VerticalAlignment = VerticalAlignment.Justify;//创建一个字体IFont font1 = book.CreateFont();//字体加粗font1.Boldweight = (short)FontBoldWeight.Bold;//字体大小 16font1.FontHeightInPoints = 16;title.SetFont(font1);//创建第一行数据IRow row0 = sheet1.CreateRow(0);//设置行高30 row0.Height = 30 * 20;//在第一行中创建第一个格子ICell titlecell = row0.CreateCell(0);titlecell.SetCellValue("名称内容");都忘记自己是copy哪个博主的了,就这样子吧!算是自己学习NPOI操作Excel表格的一个笔记吧!
立即登录