1000个分隔符文本框 [英] 1000 separator textbox
本文介绍了1000个分隔符文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
如何为文本框使用1000分隔符?
像这样
123,456
123,456,789
1,235,554
1,236
.
.
.
hi all
how can i use 1000 separator for textbox ?
like this
123,456
123,456,789
1,235,554
1,236
.
.
.
推荐答案
您可以使用Strings.FormatNumber()
方法执行此操作.
在此处 [ ^ ]了解更多信息.
You can use theStrings.FormatNumber()
method to do this.
Look here[^] for more information.
使用Strings.FormatNumber()方法执行此操作.
Strings.FormatNumber() [
Use Strings.FormatNumber() method to do this.
Strings.FormatNumber()[^]
您可能要考虑使用带遮罩的文本框- vb.net中的蒙版编辑框 [ ^ ].
You may want to consider using a masked textbox - Masked Edit Box in vb.net[^].
这篇关于1000个分隔符文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文