views:

18

answers:

1

I have two different asp.net web pages with gridviews. They both display numerical data as currency. One page displays the currency with the '£' symbol. Its code is as follows:

<asp:Label ID="Total" runat="server" Text='<%# Eval("TotalCharges", "{0:lc}") %>'></asp:Label>

The other page displays its data with a $. Here is its code:

<asp:Label ID="OrderTotal" runat="server" Text='<%# Eval("OrderTotal", "{0:c}") %>'></asp:Label>

The first example is what I need for both pages. The problem is that if I change the "{0:c}" on the first page to "{0:lc}", the page literally prints "lc" instead of the numerical data. Why is it doing this? how can I fix it? I am not very familiar with asp, and googling "{0:lc}" doesn't give me anything.

A: 

Still at a loss. Going to bump this only once

0_o