Intermittent DefinitionInvalidException与Windows窗体ReportViewer 2008

时间:2009-08-25 10:51:43

标签: reportviewer

1 个答案:

答案 0 :(得分:0)

而不是

ReportViewer.RefreshReport

这样做似乎解决了这个问题。

Application.DoEvents()
ReportViewer.LocalReport.ExecuteReportInCurrentAppDomain(Reflection.Assembly.GetExecutingAssembly().Evidence)