Jobert Enamno
Jobert Enamno

Reputation: 4461

RDLC Format Textbox Expression

I have a textbox that should display "interest" value in this format for example "(5%)". The Dataset Interest field has datatype System.Decimal. If I don't format the textbox it just displays "5" on the report page.

Currently in my designer I have

Interest «Expr»

Then the report page displays

Interest 5

Back to my problem I want to display something like this

Interest (5%)

How can I format the Interest expression «Expr»?

Please help. I'm new to RDLC.

Upvotes: 0

Views: 1966

Answers (1)

Iswanto San
Iswanto San

Reputation: 18569

Just concatenate the expression. For example:

="Interest (" & Fields!Interest.Value & "%)"

Upvotes: 3

Related Questions