replace the "." with a ","


Oi....
Β I need to build a small programm in ASP.NET and chose to use C# for it.
Now i got everything working but there's one little problem.
the first textbox is a double. I need to make it so that when someone enters a "." then it gets replaced by a ","
any ideas?
Ghan
Β 
0
Ghan27
9/2/2006 1:37:12 PM
πŸ“ asp.net.getting-started
πŸ“ƒ 91979 articles.
⭐ 4 followers.

πŸ’¬ 1 Replies
πŸ‘οΈβ€πŸ—¨οΈ 2249 Views



string blah = "4.2.2.2";
blah = blah.Replace(".", ",");
RyanΒ 

Ryan Olshan
ASPInsider | Microsoft MVP, ASP.NET
http://ryanolshan.com

How to ask a question
0
StrongTypes
9/2/2006 3:47:03 PM
Reply: