RDLC 格式文本框表达式 [英] RDLC Format Textbox Expression
本文介绍了RDLC 格式文本框表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个文本框应该以这种格式显示兴趣"值,例如(5%)".数据集兴趣字段的数据类型为 System.Decimal.如果我不格式化文本框,它只会在报告页面上显示5".
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»
然后报告页面显示
Interest 5
回到我的问题,我想显示这样的东西
Back to my problem I want to display something like this
Interest (5%)
如何格式化兴趣表达式«Expr»?
How can I format the Interest expression «Expr»?
请帮忙.我是 RDLC 的新手.
Please help. I'm new to RDLC.
推荐答案
只需连接表达式即可.例如:
Just concatenate the expression. For example:
="Interest (" & Fields!Interest.Value & "%)"
这篇关于RDLC 格式文本框表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文