cpoDesign
cpoDesign

Reputation: 9153

text formatting in ReportParameter

I have VS2008 and windows reports. I want to pass to my text field parameter that will be automatically formatted as follows:

hello you

with something like:

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

I know I can set data into pareameter, but how do I customise the display?

Upvotes: 1

Views: 100

Answers (1)

Gambrinus
Gambrinus

Reputation: 2136

Unfortunately you cannot have different formats within one textfield - you have to split it up. So two parameters one for the standard format ("hello") and the other one which goes into a formated textfield ("you").

Upvotes: 1

Related Questions