T
ThunderMusic
Hi,
I have a datagrid. In my datagrid I have a DataBoundColumn with the
property DataFormatString set to "{0:F2}" so it should format the content of
the cell to a floating number with 2 digits. It does not work, at the moment
it always puts 4 digits (which is the same as before I put the format). What
could be the cause?
Here is the code for the column... it displays the good data, only not in
the good format:
<asp:BoundColumn DataFormatString="{0:F2}" DataField="Total"
HeaderText="Montant" />
Thanks
ThunderMusic
I have a datagrid. In my datagrid I have a DataBoundColumn with the
property DataFormatString set to "{0:F2}" so it should format the content of
the cell to a floating number with 2 digits. It does not work, at the moment
it always puts 4 digits (which is the same as before I put the format). What
could be the cause?
Here is the code for the column... it displays the good data, only not in
the good format:
<asp:BoundColumn DataFormatString="{0:F2}" DataField="Total"
HeaderText="Montant" />
Thanks
ThunderMusic