如何显示千位逗号分隔符(vb.net) [英] How to display thousand commas separotor(vb.net)
本文介绍了如何显示千位逗号分隔符(vb.net)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想问一下当用户输入文本框时如何显示千位逗号分隔符.
当用户输入12345时->该文本框将显示12,345
Hi, I would like to ask how to display thousand comma separator when user input the textbox.
when user input 12345 --> the textbox will show 12,345
thanks.
推荐答案
可能的方法之一:使用MaskedTextBox
,请参见:
http://www.asp.net/community/control-gallery/Item.aspx? i = 387 [ ^ ],
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MaskedEdit/MaskedEdit.aspx [ ^ ].
—SA
One of the possible approaches: useMaskedTextBox
, please see:
http://www.asp.net/community/control-gallery/Item.aspx?i=387[^],
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MaskedEdit/MaskedEdit.aspx[^].
—SA
这篇关于如何显示千位逗号分隔符(vb.net)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文