I have a column called TradeAmount that is defined as nvarchar(30) in the DB since some of the values are 1MM+ etc.
However, the non-string values have 2 decimal places which I want to remove, for ex -> 1400000.00 needs to be 1400000.
Tried out different DataFormatStrings on the corresponding GridBoundColumn, but none seems to work and the value continues to show the 2 decimal places.
Suggestions?
Thanks
- Arun
However, the non-string values have 2 decimal places which I want to remove, for ex -> 1400000.00 needs to be 1400000.
Tried out different DataFormatStrings on the corresponding GridBoundColumn, but none seems to work and the value continues to show the 2 decimal places.
Suggestions?
Thanks
- Arun