如何在 Report Builder 3.0 中设置报告语言?
我正在使用 Report Builder 3.0 为应用程序创建一些报告。我使用报表生成器是因为我希望客户将来能够根据需要自定义报表。现在,当我在 Visual Studio(即使用 Business Intelligence Development Studio)中编辑报表时,我可以设置报表的属性。这样我就可以设置报告的语言,这对于确保所有数字/日期格式正确显示很重要,因为我的客户在法国,而且他们对这类事情很挑剔。设置语言会向报表 xml 添加一个元素,如下所示:
</ReportParameters>
<Language>=User!Language</Language>
<rd:ReportUnitType>Mm</rd:ReportUnitType>
<rd:ReportServerUrl>http://localhost/reportserver_sql2008r2</rd:ReportServerUrl>
<rd:ReportID>24c58c7f-2a6a-4f68-878d-d26d97bb16e8</rd:ReportID>
</Report>
如何访问报表属性,特别是报表生成器中的报表语言?
谢谢,
帕特里克·柯林斯
I'm using Report Builder 3.0 to create some reports for an application. I'm using Report Builder because I'd like the client to be able to customize the reports as needed in the future. Now, when I edit a report in Visual Studio (that is using Business Intelligence Development Studio), I can set the properties for the report. That way I can set the language for the report which is important to ensure that all the number/date formats appear correctly, as my client is in France, and they're fussy about that sort of thing. Setting the language adds an element to the report xml as follows:
</ReportParameters>
<Language>=User!Language</Language>
<rd:ReportUnitType>Mm</rd:ReportUnitType>
<rd:ReportServerUrl>http://localhost/reportserver_sql2008r2</rd:ReportServerUrl>
<rd:ReportID>24c58c7f-2a6a-4f68-878d-d26d97bb16e8</rd:ReportID>
</Report>
How can I access the report properties, and specifically the report language in Report Builder?
Thanks,
Patrick Collins
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道这已经很老了,但这是一个有效的问题。我已经验证您可以在 Report Builder 2.0 (10.0.4.4000.0) 和 Report Builder 3.0 (11.0.2100.60) 中执行此操作:
I know this is way old, but it's a valid question. I've verified that you can do this in Report Builder 2.0 (10.0.4.4000.0) and Report Builder 3.0 (11.0.2100.60):