0

How to create an rdlc template so that we can use it for all the rdlc files in a project reducing the time to format each and every rdlc file. is it possible to create a rdlc template by which we can have the header to all rdlc files as same as rdlc template by inheriting it??

4

3 回答 3

0

SQL 2008 R2 的 SSRS 添加了一些用于使用可重用查询(数据集)和报告标头的功能。该技术的两个注意事项是 1) 您只能通过 SSRS 2008 R2 呈现这些报告(不能通过 Winforms 或 Webforms 的 .net 报告控件),以及 2) 您需要通过 Report Builder 3.0 编辑它们(这需要提升SSRS 的权限)。它不适用于 BIDS (VS2008)。我听说您可以通过获取 VStudio 2010 的附加组件或使用 VStudio 2012 来编辑新的 RDLC,但我无法确认这一点。

于 2012-10-12T20:02:31.340 回答
0

这通常通过页眉和页脚的子报表来完成。

是否可以在 Visual Studio 2010 的 ReportViewer 中重用页眉或页脚?

于 2013-02-25T15:16:59.423 回答
0

我通常使用一个很好的比较工具,比如 Beyond Compare,并将模板中的所有内容合并到新报告中。

这不是那么花哨但有效。此外,您还可以很好地了解报告的定义方式。

于 2012-11-21T21:12:45.920 回答