我们如何将URL参数传递给RDL文件?

发布于 2025-01-28 07:15:06 字数 417 浏览 3 评论 0原文

我需要以不同的语言显示报告的静态文本。

我正在关注的步骤:

  1. 使用CultureInfo创建带有查询字符串参数的URL。 http://localhost/report.aspx?userId = 5?cultureinfo = cs-cz?reportspath = userReport/new

  2. 现在我想在我的rdl文件中获取此cultioninfo = cs-cz。

  3. 根据我的Cultureinfo,我将使用IIF或Switch进行动态更改

问题进行动态更改:

如何在我的RDL文件中获取CultureInfo值? 或者,如何在任何文本框中打印此值以检查传递给它的内容?

I have a requirement to show the static text of my report in different language.

Steps that I am following:

  1. Create a url with query string parameter with CultureInfo.
    http://localhost/Report.aspx?UserId=5?CultureInfo=cs-CZ?ReportsPath=UserReport/New

  2. Now I want to fetch this CultureInfo=cs-CZ in my rdl file.

  3. On the basis of my CultureInfo I will do the dynamic change with IIF or SWITCH

Problem I am getting:

How to fetch the CultureInfo value in my rdl file?
Or,How can I print this value in any of the textbox to check what is passed to it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文