PDA

View Full Version : How to Change "$" sign to "Rs." in ASP.Net 2.0


Nadh Magic
02-21-2007, 02:23 AM
Dear Senior Programmers,
I developed a web site based on ?CLASSIFIED? starter kit. In ASP.Net 2.0 and SQL Server 2005 Technology. Hosting in US server www.discoutasp.net (http://www.discoutasp.net/)
One of the tables the ?Price? column data type is ?money?
In This web site the Price Column is belong to Indian Currency ?Rupees?
When the data retrieved from server to browser in the aspx page it shows ?$?
example: $3000.00
How do I change ?$? to ?Rs.? Symbol
example: Rs.3000.00

Thank you
Nadh

vvsharma
02-21-2007, 07:56 AM
Try using :

<globalization requestEncoding='utf-8' responseEncoding='utf-8' culture='hi-IN' uiCulture='hi-IN' />

in your web.config

you can find a list of predefined culture names and identifiers here:

http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)

Nadh Magic
02-25-2007, 06:12 AM
Mr.Vikram Sir
</o:p>
Thanks a lot for your solution.
Once again I thank full to www.discountasp.net (http://www.discountasp.net/).
</o:p>
Sorry for my late because I am in tour.
</o:p>
Nadh
</o:p>