【问题标题】:SSRS report on querystring param valueSSRS 报告查询字符串参数值
【发布时间】:2014-09-23 12:32:41
【问题描述】:

我有一份带有下拉列表的报告,其中包含所有国家/地区,并且可以在从下拉列表中选择任何国家作为参数后查看报告。直到这很好,但现在我想通过查询字符串传递国家名称并在下拉列表中选择传递的国家并显示报告。如何做到这一点。

尝试通过 url 传递参数,例如:

http://[servername]/Reportserver/Pages/ReportViewer.aspx?[folder]/[reportname]&rs:Command=Render&Country=India

【问题讨论】:

  • 您在 google 上找到的示例没有帮助?

标签: reporting-services


【解决方案1】:

打开带有参数 Country = India 的报告:

http://[servername]/Reportserver/Pages/ReportViewer.aspx?[folder]/[reportname]&rs%3aCommand=Render&Country=India

打开与 PDF 相同的报告:

http://[servername]/Reportserver/Pages/ReportViewer.aspx?[folder]/[reportname]&rs%3aCommand=Render&Country=India&rs%3aFormat=PDF

【讨论】:

    猜你喜欢
    • 2014-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-18
    • 1970-01-01
    • 1970-01-01
    • 2014-01-01
    相关资源
    最近更新 更多