ExcelPackage: Office Open XML Format file creation

 

ExcelPackage: The convenient way to create SpreadsheetML OOXML on the server

ExcelPackage provides server-side generation of Excel 2007 spreadsheets.
It is a set of classes and wrappers around the .NET 3.0 System.IO.Packaging API and the new Office Open XML file format. It extracts away the complexity of dealing with the individual XML components making it real easy to create sophisticated spreadsheets on the server.

Overview

The adoption of XML as the native file format for Excel 2007 has opened up a whole host of new possibilities. Now for the first time we can create native Excel files on the server using standard tools. 

However, the new Office Open XML standard is so new there are precious few good code samples. This Codeplex project aims to correct the situation by providing a flexible set of open source class libraries that you can use to create Excel spreadsheets on the server.

Where do you start?

If you are considering creating Excel spreadsheets on the server, then start by downloading and running the code samples. These provide a tutorial on how to use the ExcelPackage assembly to dynamically create Excel spreadsheets on the server. The three samples demonstrate:

Below is a screenshot of the output from the final code sample. Pretty impressive for 50 lines of code!

Report created by Sample 3

Frequently Asked Questions (FAQ)

Documentation

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值