none
rdlc报表数据绑定错误 RRS feed

  • 问题

  • 设计了一个rdlc报表,使用Parameters!取值,参数中为空时报错;如果参数值为"null"时,如何做字符串替换?
    2014年3月25日 14:07

答案

  • 你好:

    欢迎来到MSDN中文论坛!

    请参考以下MSDN文档:

    Reporting Services 中的表达式示例

    在VB代码中可以通过IIF函数表达式来判断数值然后赋值,比如:

    iif(Fields!ABC.Value Is Nothing, "value is NULL", "value is not NULL")

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年3月26日 6:09
    版主