11得票2回答
如何清理Crystal Reports ReportDocument对象使用的资源是最佳方式?

我正在开发一个使用Crystal Reports进行报告的应用程序。它会在ReportDocument对象中打开特定的报告,执行必要的操作,然后关闭报告。using (var report = OpenReport(reportSourceInfo)) { // Do stuff wi...