Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
hi all

how can i use 1000 separator for textbox ?

like this

123,456
123,456,789
1,235,554
1,236
.
.
.
Posted
Comments
Sandeep Mewara 14-May-11 6:09am    
Not clear.

You can use the Strings.FormatNumber() method to do this.
Look here[^] for more information.
 
Share this answer
 
Use Strings.FormatNumber() method to do this.

Strings.FormatNumber()[^]
 
Share this answer
 
You may want to consider using a masked textbox - Masked Edit Box in vb.net[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900