Can I change "$" into "£" in Discountasp.net SQL?

Discussion in 'ASP.NET / ASP.NET Core' started by yawowcom001, May 15, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Can I change "$" into "£" in Discountasp.net SQL?

    <asp:BoundColumn DataField="ExtendedAmount" DataFormatString="{0:d}"></asp:BoundColumn>

    I am in London, the default of Keyboard was setting as "UK", SQL server install in my computer, but when I use Discountasp.net SQL server, the ASPX page lists "$" instead of "£". Please ask help?? Thank you
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Try change the locale setting in your web.config file.

    see many resources here, http://www.411asp.net/home/tutorial/specific/globaliz


    quote:Originally posted by yawowcom001

    Can I change "$" into "£" in Discountasp.net SQL?

    <asp:BoundColumn DataField="ExtendedAmount" DataFormatString="{0:d}"></asp:BoundColumn>

    I am in London, the default of Keyboard was setting as "UK", SQL server install in my computer, but when I use Discountasp.net SQL server, the ASPX page lists "$" instead of "£". Please ask help?? Thank you
    </blockquote id="quote"></font id="quote">
     
  3. Thank you, Bruce[8D]!!

    <system.web>
    <globalization
    requestEncoding="UTF-8"
    responseEncoding="UTF-8"
    culture="en-GB"
    uiCulture="en-GB"/>
    </system.web>

    Using "en-GB" can show the "£" instead of "$"!!
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page