2008年7月8日

一个处理XML文件的类

摘要: using System; using System.Text; using System.IO; using System.Xml; using System.Data; namespace XmlBook.Com.Sem.Tools { /// /// 版权: Copyright by SEM IT Department /// 版本: 0.0.1 /// 文件: XmlBook.C... 阅读全文

posted @ 2008-07-08 13:41 那片云 阅读(205) 评论(0) 推荐(0) 编辑

c#操作excel后关闭excel.exe的方法

摘要: C#和Asp.net下excel进程一被打开,有时就无法关闭, 尤其是website.对关闭该进程有过GC、release等方法,但这些方法并不是在所有情况下均适用。 于是提出了kill process的方法, 目前我见过的方法多是用进程创建时间筛选excel.exe进程, 然后kill 。 这样的方法是不精确的, 也是不安全的, 通过对网上一些关于Api运用文章... 阅读全文

posted @ 2008-07-08 11:10 那片云 阅读(780) 评论(1) 推荐(0) 编辑

C# 将多张sql表格导出到Excel表中

摘要: private Excel.Application m_objExcel=null; private Excel.Range m_objRange=null; private Excel.Workbooks m_objBooks=null; private Excel._Workbook m_objBook=null; private Excel.Sheets m_objSheet... 阅读全文

posted @ 2008-07-08 10:03 那片云 阅读(525) 评论(0) 推荐(0) 编辑

C# 操作Excel表格

摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication3 { ... 阅读全文

posted @ 2008-07-08 09:14 那片云 阅读(351) 评论(0) 推荐(0) 编辑

导航