如何用C#指定excel文件的保存路径 我是想在把数据库的数据导入到一个excel中后,将这个excel保存到我指定的一个目录下(前提是看不见excel的操作过程) 现在我的默认路径是 "我的文档 "如何用C#指定excel文件的保存路径 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 现在是解决了//保存工作簿 wBook.SaveAs(filePath + "\\导出表.xls", System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, Excel.XlSaveAsAccessMode.xlNoChange, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing);我用的这方法,不知道还有没有别的方法,谢谢各位的回复 C# 调用 DLL时报异常 这样的情况如何封装,继承 鹰眼实现 txt文件较大点,读入写出效率问题。 关于.net学习 求助电子类问题 怎么用多维数组做为函数参数? windows xp下能否装SQL SERVER 2005? 为什么在我的vs.net2003的项目引用中看不到system.io和system.net,而在对象浏览器中可以看到,我怎样引用 如何在程序结束时结束一个线程? 100分急求一段代码 页面跳转问题
//保存工作簿
wBook.SaveAs(filePath + "\\导出表.xls", System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, Excel.XlSaveAsAccessMode.xlNoChange, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing);
我用的这方法,不知道还有没有别的方法,谢谢各位的回复