|
Subject:
|
format and databinding
|
|
Posted By:
|
marclena
|
Post Date:
|
2/11/2004 10:36:45 AM
|
<ItemTemplate> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Value", "{0:c0}") %>'> </asp:Label> </ItemTemplate>
Hello, I've got this inside a datagrid. This is a money format, but it display the currency symbol as well, does anyone how to do to remove the symbol, not the formating just the symbol? Thanks
|
|
Reply By:
|
planoie
|
Reply Date:
|
2/11/2004 8:11:44 PM
|
If you don't want to format as a currency, just format as a decimal number. I have used this to format as the basic structure of currency but without the symbol:
{0:#,##0.00}
Peter ------------------------------------------------------ Work smarter, not harder.
|
|