摘要: conn.Close();conn.Dispose(); 在close和dispose后,必须要加上以下两句代码,让垃圾回收机制启动,否则仍不能释放与db文件的连接 GC.Collect(); GC.WaitForPendingFinalizers(); 阅读全文
posted @ 2023-04-09 17:32 SimpleGIS 阅读(113) 评论(0) 推荐(0) 编辑