无法在Visual Studio 2010 reportviewer中选择子报表

时间:2014-03-14 02:37:05

标签: asp.net visual-studio-2010 reporting-services reportviewer subreport

我创建了一个主报告和子报告(rdlc)。

在主报告中,我插入子报告并右键单击以选择“子报告属性”。

但是没有报告可以在“将此报告用作子报告”的下拉列表中选择

enter image description here

所以我手动在文本框中输入子报告名称。

在主报告中分配参数并在子报告中添加参数。

enter image description here

enter image description here

enter image description here

但是有错误无法检索子报告的数据

enter image description here

如何修复错误? 如何在子报表属性的下拉列表中选择报表?

感谢。

1 个答案:

答案 0 :(得分:0)

确认master和子报告位于同一文件夹中。