NPOI生成Excel
摘要:
//创建工作表 HSSFWorkbook workbook = new HSSFWorkbook(); Sheet sheet = workbook.CreateSheet("Sheet1"); //创建表头 Row headerRow = sheet.CreateRow(1); for (int i = 0; i < strField.Length; i++) { headerRow.Crea... 阅读全文
posted @ 2011-04-22 17:35 ★金★ 阅读(1198) 评论(0) 推荐(0) 编辑