在RDLC报告中设计子报告 [英] Designing a Sub Report inside RDLC Report

查看:145
本文介绍了在RDLC报告中设计子报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用RDLC报告在我的项目中开发报告
但是当我在该报告中插入子报告时.不允许我设计该父报告中剩余的报告.
现在,我从某个文件夹中创建的报告中获取子报告,并在子报告中指定该报告名称.
谁能帮助我在报告中设计子报告,以便我不必为子报告创建额外的报告

I am using RDLC reports for developing reports in my project
but when I am inserting sub report in that report. It is not allowing me to design that report remaining in that parent report.
Now I am getting sub report from a report which i have created in some folder and i am giving that report name inside sub report.
Can anyone help me to design sub report inside a report so that I will not have to create an extra reports for sub reports

推荐答案

请按照以下步骤操作

1.创建报告1,这是您的主要报告.
2.创建报告2,它将作为子报告.
3.现在打开报表1,然后从工具箱中将子报表控件拖到该主报表中. 4.然后右键单击子报表控件,并将其配置为指向报表2.
5.如果必须传递任何参数,请配置子报表的参数.

有关更多详细信息,请访问以下链接:
http://shahfaisalmuhammed.blogspot.com/2011/10/building-subreport-in- report.html [ ^ ]
http://forums.asp.net/post/3464322.aspx [
please follow below steps

1. Create Report 1 , this is your main report.
2. Create Report 2 , this will act as subreport.
3. Now open report 1 and from toolbox drag the subreport control to this main report.
4. Then Right click on the subreport control and configure it to Point to the Report 2.
5. Configure the Parameter For subreport , if you have to pass any paramter.

For more detail visit the following links:
http://shahfaisalmuhammed.blogspot.com/2011/10/building-subreport-in-reporting.html[^]
http://forums.asp.net/post/3464322.aspx[^]


这篇关于在RDLC报告中设计子报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆