【发布时间】:2013-07-04 12:37:50
【问题描述】:
在我的 2012 asp.net web 表单应用程序中,对包含 asp.net 报表查看器控件的 aspx 页面之一进行了编码 在其 Page_Load 事件处理程序中,如下所示,使用属性 ReportPath 调用远程 ssrs (SQL Server 2012) 报告。
我有两个问题:
问题 1:如果我想通过属性 ReportPath 再传递一个查询字符串,例如 deviceId=1234,我该怎么做?
protected void Page_Load(object sender, EventArgs e)
{
....
ReportViewer1.ServerReport.ReportPath = _myReportPart; // I want to pass more query string here like deviceId=1234. How can I do so?
ReportViewer1.ServerReport.ReportServerUrl = new Uri(myReportServerUrl);
}
}
问题 2:在远程 ssrs rdl 报告中,报告如何使用/提取额外的查询字符串?
谢谢。
【问题讨论】:
标签: asp.net reporting-services ssrs-2008 reportingservices-2005