在Gridview中显示井号 [英] Display the pound sign within a Gridview

查看:68
本文介绍了在Gridview中显示井号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨伙计们,



寻找一些指导,我有一个带有价格列和总列的Gridview;我想在这些列中显示英镑符号。



如果我使用{0:C}格式化价格列,那么总列(标签)将显示163作为£符号



如何修复此

Hi folks,

Looking for some guidance, I have a Gridview with a price column and a total Column; I would like to display the pound sign within these columns.

If I use this "{0:C}" to format the price column, then the total column (label) will display 163 as the £ sign

How do you fix this

推荐答案

看看这里:全球化循序渐进:货币格式化 [ ^ ]


这篇关于在Gridview中显示井号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆