在执行任何其他代码之前,需要完全等待报告加载

时间:2012-09-05 15:06:15

标签: c# asp.net .net reporting-services webforms

我有关于Reporting Services的报告,我只需打开一次,然后执行一些不会让它再次打开的数据库更新。发生的事情是下面的代码在报告完全加载之前执行。有没有办法等待直到它被加载,然后才执行其他代码?

    ReportViewer1.ServerReport.Refresh();
        modalPopupPrint.Show();

        foreach (GridViewRow row in grdSucess.Rows)
        {
            //Do some LINQ updates in the database here.
        }

0 个答案:

没有答案