摘要: 阅读全文
posted @ 2012-04-15 00:04 wx_xfy6369 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-04-15 00:01 wx_xfy6369 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-04-14 23:38 wx_xfy6369 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-04-14 23:37 wx_xfy6369 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 创建Workbook说白了就是创建一个Excel文件,当然在NPOI中更准确的表示是在内存中创建一个Workbook对象流。本节作为第2章的开篇章节,将做较为详细的讲解,以帮助NPOI的学习者更好的理解NPOI的组成和使用。NPOI.HSSF是专门负责Excel BIFF格式的命名空间,供开发者使用的对象主要位于NPOI.HSSF.UserModel和NPOI.HSSF.Util命名空间下,下面我们要讲到的Workbook的创建用的就是NPOI.HSSF.UserModel.HSSFWorkbook类,这个类负责创建.xls文档。在开始创建Workbook之前,我们先要在项目中引用一些必要的N 阅读全文
posted @ 2012-04-13 15:24 wx_xfy6369 阅读(1436) 评论(1) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2012-04-13 11:38 wx_xfy6369 阅读(162) 评论(0) 推荐(0) 编辑
摘要: The following code shows how to use the Workbook constructor tocreate and initialize a new instance of the class. Workbook workbook = new Workbook(); OverLoaded MethodDescriptionWorkbook ()Workbook (string strFileP... 阅读全文
posted @ 2012-04-13 10:17 wx_xfy6369 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Property NameDescriptionWorksheetsGets the collection in the spreadsheet.Method NameDescriptionOpen MethodOpens a preset designer spreadsheet from stream.Save MethodCreates the result spreadsheet to the stream. 阅读全文
posted @ 2012-04-13 10:15 wx_xfy6369 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Aspose.Cells NamespaceThis Page Lists All Classes in this namespace Aspose.CellsClassesClass NameDescriptionCellEncapsulates the object that represents a single Workbook cell.CellsEncapsulates a collection of objects.WorkbookRepresents a root object to create an Excel spreadsheet.WorksheetEncapsulat 阅读全文
posted @ 2012-04-13 10:07 wx_xfy6369 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 2. Adding Worksheets to a Designer SpreadsheetThe process of adding worksheets to a designer spreadsheet is entirely same as that of the above approach except that the Excel file is already created and we need to open that Excel file first before adding worksheet to it. A designer spreadsheet can be 阅读全文
posted @ 2012-04-13 09:53 wx_xfy6369 阅读(570) 评论(0) 推荐(0) 编辑