How to Display Indian currency by using standard data string format in c#.net

asp.net

I want to display a Indain rupee symbol in my web-site. in my grid view when I use DataFormatString="{0:c2} it is showing $ symbol.

so any one tell me how to solve this problem

Best Answer

You would be better off by setting the culture.

This can be done site-wide in the web.config, using the <globalization uiCulture="in" culture="in-IN" /> element, or at the page level in the page directive <%@ Page UICulture="in" Culture="in-IN" %>

(it is in-IN or hi-IN am not too sure)

Or simply this for one-off scenario: DataFormatString = ₹ + "{0:c2}";