Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I want to display indian currency symbol in a label.What would be the code? plz help me!
Posted

Try:
C#
myLabel.Text = "Hello: " + "\u20B9" + " 123";
Or
C#
myLabel.Text = "Hello: " + "\u20A8" + " 123";
 
Share this answer
 
Comments
agarwal972 20-May-13 4:36am    
I dont want Rs instead I want the present symbol of Indian currency.plz help me
Hi agarwal,

Follow below code to get Indian currency symbol.

string str = CultureInfo.CurrentCulture.NumberFormat.CurrencySymbol;


Finally assign str value to lable.
 
Share this answer
 
Comments
Basmeh Awad 20-May-13 3:53am    
bro.. this gives a $(Dollar) sign
[no name] 20-May-13 4:33am    
No I got Indian currency symbol Please verify once

kk Why because you are executing this statement from United states so dollar symbol
[no name] 20-May-13 5:27am    
see in my statement written like "current culture" so it should give your country symbol
Hey Agarwal, follow below code, you will get Indian rupee symbol

System.Globalization.RegionInfo objRegInfo = new RegionInfo("en-IN");
string syb = objRegInfo.CurrencySymbol;
 
Share this answer
 
Comments
[no name] 21-May-13 8:32am    
If your are k with my solution mark as 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