操作Excel文件后无法退出进行解决办法

View Code 
 1 private void OpenExcel()
 2 {
 3     ……
 4 }
 5 
 6 private void StartOpen()
 7 {
 8      OpenExcel();
 9 }
10 catch(){}
11 finally
12 {
13    GC.Collect();   //强制回收
14 
posted @ 2012-08-17 10:20  tonySuen  阅读(859)  评论(0编辑  收藏  举报