Brijesh81 Posted July 15, 2003 Posted July 15, 2003 (edited) Hi hrabia, Thanks for your response my original question was--> I am using the following code to get the Sybol for the currency, while displaying a field containing money related data. System.Globalization.RegionInfo.CurrentRegion.CurrencySymbol Now the problem is that it displays the Symbol but it displas the $ symbol for the currency while I need a <YEN> symbol for the Japanese currency. Is it because of the <Regional Settings> on my machine. I changed regional settings as well but to no help. Any help would be greatly appreciated. Thanks a lot. your Answer:: Try with <globalization> tag and "culture" attribute in web.config My next Question :: Thanks a lot for your help. I introduced the line culture="en-JP" in my <Web.Config> like the following. But it didn't work. <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-JP" /> I need the Japanese currency symbol. Plz. Help... Thanks a lot... Brijesh Edited July 15, 2003 by Brijesh81 Quote
hrabia Posted July 15, 2003 Posted July 15, 2003 dim ri as RegionInfo = new RegionInfo("JP") Label1.Text = format("Symbol: {0}", ri.CurrencySymbol) Quote A man and a dog have an average of three legs. Beaware of Statistics.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.