GridView中的负值? [英] Negative Values In GridView?
本文介绍了GridView中的负值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
在网格视图中
正金额显示为$ 155.00
负金额正像这样显示($ 155.00)
我想显示负数,例如-$ 155.00
Hi all,
In Grid View
positive amounts are displaying like this $155.00
negative amounts are displaying like this ($155.00)
I want to display the negative like -$155.00
<asp:BoundField DataField="Price" DataFormatString="{0:c}"
HeaderText="Price">
请在这个问题上纠正我.
谢谢&问候,
帕万.
plz correct me on this.
Thanks & Regards,
Pawan.
推荐答案
155.00
这样会显示负数(
155.00
negative amounts are displaying like this (
155.00)
我想显示负数-
155.00)
I want to display the negative like -
155.00
155.00
<asp:BoundField DataField="Price" DataFormatString="{0:c}"
HeaderText="Price">
请在这个问题上纠正我.
谢谢&问候,
帕万.
plz correct me on this.
Thanks & Regards,
Pawan.
这篇关于GridView中的负值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文