【发布时间】:2015-11-23 07:33:56
【问题描述】:
我想在 rdlc 报告的标题部分的单个表达式中使用两个报告项。
我试过了,
= IIF(ISNothing(ReportItems!R.value),ReportItems!R1.value,ReportItems!R.value)
= SWITCH(ISNothing(ReportItems!R.value),ReportItems!R1.value,
ISNothing(ReportItems!R1.value),ReportItems!R.value)
我也尝试通过编写自定义代码功能。
但我明白了,
textrun 的 Value 表达式引用了多个报告 物品。页眉或页脚中的表达式只能引用一个 报告项目。
【问题讨论】:
标签: c# asp.net if-statement reporting-services switch-statement