摘要: public class OperatorExcel: IDisposable{ ........... public void Dispose() { try { m_oBooks = null; m_oBook = null; m_oSheet = null; m_oRange = null; if(m_oExcelApp != null) { m_oExcelApp.Quit(); m_oExcelApp = null; } } finally { GC.Collect(); GC.WaitForP... 阅读全文
posted @ 2012-05-22 22:14 风清水远 阅读(237) 评论(0) 推荐(0) 编辑