摘要: 1,首先要导入Com文件Microsoft Word 11.0 Object Library.2.声明using System.Text.RegularExpressions;3,要添加Interop.Word.dll文件http://www.cnblogs.com/Files/ghostljj/Interop.Word.rar-----------------------------------... 阅读全文
posted @ 2008-04-12 02:34 Madream.F 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1,首先要导入Com文件Microsoft Excel 11.0 Object Library.2,要添加Interop.Excel.dll文件http://www.cnblogs.com/Files/ghostljj/Interop.Excel.rar3.执行下面步骤/// /// 导出Excel/// /// 要导出的DataTablepublic void ExportToExcel(Sys... 阅读全文
posted @ 2008-04-12 02:31 Madream.F 阅读(777) 评论(0) 推荐(0) 编辑