导出 word2007

导入命名空间

using DocumentFormat.OpenXml.Wordprocessing;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml;
using System.Data; 

创建虚拟数据

Code

 调用openXML sdk生成word2007,并输出到客户端

Code

 

 

posted @ 2009-01-02 10:58  杜宏宇  阅读(716)  评论(0编辑  收藏  举报