
C#
文章平均质量分 74
W的世界
前行
展开
-
C # 处理大Excel 文件,列数700以上
1、先导入epplus.dll2、 string path = "wd.xlsx";//文件 using (ExcelPackage package = new ExcelPackage(new FileStream(path, FileMode.Open))) { DateTime dt = Date...原创 2018-07-10 14:32:12 · 54 阅读 · 0 评论 -
C # 操作word
Visual studio版本:Visual Studio 2015准备工作:/*1. 添加引用COM里面的 Microsoft Word 12.0 Object. Library 引用(12.0表示Word 2007版本)2. 导命名空间using MSWord =Microsoft.Office.Interop.Word;using System.IO;using System.Refle...原创 2018-07-11 08:37:19 · 50 阅读 · 0 评论