Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# ReportParameter中的文本格式_C#_Reporting Services_Report - Fatal编程技术网

C# ReportParameter中的文本格式

C# ReportParameter中的文本格式,c#,reporting-services,report,C#,Reporting Services,Report,我有VS2008和windows报告。 我想传递给我的文本字段参数,该参数将自动格式化如下: 你好你 比如: ReportParameter ourRef = new ReportParameter("Message", "hello <strong>Mickey Mouse</strong>"); ReportParameter ourRef=newreportparameter(“Message”,“hello米老鼠””; 我知道我可以将数据设置为参数,但如何自定

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

你好

比如:

ReportParameter ourRef = new ReportParameter("Message", "hello <strong>Mickey Mouse</strong>");
ReportParameter ourRef=newreportparameter(“Message”,“hello米老鼠””;

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

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

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