PDA

View Full Version : Can I change "$" into "£" in Discountasp.net SQL?


yawowcom001
05-15-2004, 06:16 AM
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

bruce
05-16-2004, 12:26 PM
Try change the locale setting in your web.config file.

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


[b]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">

yawowcom001
05-19-2004, 07:08 AM
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 "$"!!