I have a datagrid:

VB Code:
  1. <asp:datagrid id="dgMaster" runat="server"  EnableViewState="False" AutoGenerateColumns="False" >
  2.  
  3. <AlternatingItemStyle backcolor="Firebrick" ForeColor="White"></AlternatingItemStyle>
  4. <ItemStyle backcolor="Gainsboro"></ItemStyle>
  5. <HeaderStyle font-bold="True" forecolor="White" backcolor="#6699CC"></HeaderStyle>
  6. <Columns>
  7.  
  8. <asp:BoundColumn DataField="Service Date" HeaderText="Service Date" DataFormatString="{0:d}"></asp:BoundColumn>
  9.  
  10. <asp:BoundColumn DataField="Description" HeaderText="Description" ></asp:BoundColumn>
  11.  
  12. <asp:BoundColumn DataField="Charges" HeaderText="Charges" DataFormatString="{0:c}">
  13.  
  14. <asp:BoundColumn DataField="Payments" HeaderText="Payments" DataFormatString="{0:c}">
  15. </asp:BoundColumn>
  16. </Columns>
  17. </asp:datagrid>

now the payments and the charges column will include 0 as a value, and having DataFormatString="{0:c}", the result is $0.00.

I would like to replace the $0.00 with say something like "-" or even an empty string. will i have to change the columns to templated column to acheive this, or is there another way around this?

Thanks.