简体   繁体   中英

C# using expressions in RDLC report

I am having trouble generating the RDL report in C# project. If I don't use expressions, the report generates correctly. When I set an expression for the background color:

=IIf(Fields!dzien.Value="Sunday","LightGrey","Transparent")

generating the report ends with an error.

屏幕截图报告错误

In project I have references

截图项目

What am I doing wrong? Compilation proceeds without errors.

I have successfully resolved the problem. Microsoft Report Viewer 2015 Runtime was missing from the operating system.

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