简体   繁体   中英

In C# How to concatenate values with strings in RDLC IIf condition expression?

当我将值与 rdlc 中的字符串连接起来时,如果条件表达式,则报告无法运行。

=iif(Fields!GrpID.Value = 8,Fields!GrpName.Value,"Sub Total (" +Fields!GrpName.Value + ")")

I think it should be

=IIf(Fields!GrpID.Value = 8,Fields!GrpName.Value,"Sub Total (" +Fields!GrpName.Value + ")")

If you are getting any specific error please add that your question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM