一个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自动全成的. 当查询条件全部默认为"可为空"时. 一打开该页面就会自动查询报表
请问该如何解决.
学习者