随笔分类 -  Excel

Excel如何关闭进程
摘要:在使用Microsoft.Interop.Excel对象的时候_application.Quit()并不能彻底关闭Excel进程,原因是没有释放掉非托管组建的引用。 System.Runtime.InteropServices.Marshal.FinalReleaseComObject(book);... 阅读全文
posted @ 2013-07-23 16:47 啊風 阅读(474) 评论(0) 推荐(0)
Excel_To_DataTable
摘要:/// /// Read data in excel file to datatable /// /// Excel file name /// Which sheet to read /// public... 阅读全文
posted @ 2013-07-09 15:05 啊風 阅读(1977) 评论(0) 推荐(0)