【发布时间】:2017-01-27 18:17:54
【问题描述】:
尝试创建 RDLC 报告但遇到异常:
文本运行“Textbox40.Paragraphs[0].TextRuns[0]”的值表达式包含错误:[BC30516] 重载解析失败,因为没有可访问的“IIf”接受此数量的参数。代码如下:
<Value>
=Fields!TermsDescription.Value & " " & Fields!PrimaryCurrency.Value & vbcrlf &
iif((Parameters!DocType.Value = "INVOICE" and Fields!ShowInterestStatement.Value), "1.5% Per Month (19.56% per Annum)" & vbcrlf & "Will be Charged on Overdue Accounts" & vbcrlf &
IIF((Parameters!DocType.Value = "ORDER ACKNOWLEDGEMENT"), "All goods sold are subject to Apex Remington's terms and conditions of sale which are available for your review at http://www.apexdistribution.com/terms", "test") &
</Value>
【问题讨论】:
标签: xml rdlc reportviewer