reporting service 内建了报表的跳转功能
reporting service 内建了报表的跳转功能
使用reportviewer在web上展现
ReportViewer1.ServerReport.ReportServerUrl = ReportUrl;
ReportViewer1.ServerReport.ReportPath = ReportPath;
查询报表后,点击实现报表跳转,结果发现跳转后,报表路径被改了
初始时ReportViewer1.ServerReport.ReportPath=a,跳转后就变成b了,
然后不能重新设置成a,具体错误如下
异常详细信息: System.InvalidOperationException: 对象的当前状态使该操作无效。
源错误:
行 165: ReportViewer1.ServerReport.ReportPath = ReportPath;
行 166:
这两个东西如何重置啊
ReportViewer1.ServerReport.ReportServerUrl
ReportViewer1.ServerReport.ReportPath