【问题标题】:text formatting in ReportParameterReportParameter 中的文本格式
【发布时间】:2011-03-21 11:57:58
【问题描述】:

我有 VS2008 和 windows 报告。 我想传递给我的文本字段参数,该参数将自动格式化如下:

你好

类似:

ReportParameter ourRef = new ReportParameter("Message", "hello <strong>Mickey Mouse</strong>");

我知道我可以将数据设置为参数,但是如何自定义显示?

【问题讨论】:

    标签: c# reporting-services report


    【解决方案1】:

    不幸的是,您不能在一个文本字段中使用不同的格式 - 您必须将其拆分。 所以两个参数一个用于标准格式(“hello”),另一个用于格式化文本字段(“you”)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-06-05
      • 2011-01-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-03
      相关资源
      最近更新 更多