none
Report Service 的问题 RRS feed

  • Question

  • 一个BS的程序. 前台用ReportViewer控件来展示报表.     后台代码如下:
    rpvCurrent是ReportViewer控件名称.

                    rpvCurrent.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
                    rpvCurrent.ServerReport.ReportServerUrl = new Uri(ConfigurationManager.AppSettings["ReportURI"]);
                    rpvCurrent.ServerReport.ReportPath = sPath;
                    rpvCurrent.ServerReport.ReportServerCredentials = CGlobal.ReportingServerWebServiceCredentials;

    相信做过报表的.以上代码我就不解释了.

    有一个问题. 查询条件是Report Service自动全成的. 当查询条件全部默认为"可为空"时. 一打开该页面就会自动查询报表

    请问该如何解决.
    学习者
    • Moved by Riquel_DongModerator Wednesday, November 4, 2009 11:02 AM redirect to right forum (From:.NET Framework 一般性问题讨论区)
    Thursday, October 29, 2009 3:25 AM

All replies