摘要: /// /// 导出Excel/// public void ExportExcel(){ #region 添加引用 Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();//需要添加 Microsoft.Office.Interop.Excel引用 if (app == null) return;//app == null ,则代表服务器上“服务器上缺少Excel组件,需要安装Office软件” #endregion #r... 阅读全文
posted @ 2013-10-31 17:19 Mr.Leo 阅读(2087) 评论(0) 推荐(0) 编辑