I have a RadGrid on which resides a GridBoundColumn. And i display values of type decimal(10,4) on them. What i wantto to do is to display them as -for instance- 4.00 raher them 4.0000(since it field in tha table is decimal(10,4) the values are displayed as 4.0000 ). How can i do that?
Here is html of RadBoundGrid:
Here is html of RadBoundGrid:
| <telerik:GridBoundColumn DataField="Yuzde" DataType="System.Decimal" |
| HeaderText="Yüzde" SortExpression="Yuzde" UniqueName="Yuzde" AllowFiltering = "false"> |
| <ItemStyle Width="10px" ></ItemStyle> |
| </telerik:GridBoundColumn> |
I tried changind DataType="System.Decimal" to System.Double. It didn't work.