【问题标题】:Report column is showing #Error when using Subscriptions使用订阅时报告列显示#Error
【发布时间】:2020-07-16 02:17:44
【问题描述】:

如标题所示,当使用 SSRS 2017 订阅生成报告时,带有表达式的列显示 #Error。但是,当我尝试在 web 和报表生成器中手动运行时,它可以显示出来。

表达式是: =Code.Decode(Fields!Comments.Value)

函数是:

Function Decode(ByVal EncodedString AS String) AS String

    Return System.Web.HttpUtility.HTMLDecode(EncodedString)

End Function

欢迎任何建议或帮助。

【问题讨论】:

    标签: subscription ssrs-2017


    【解决方案1】:

    我自己解决问题。请改用以下方法

    Function Decode(ByVal EncodedString AS String) AS String
       Return System.Net.WebUtility.HtmlDecode(EncodedString)
    End Function
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-02-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多