A
Adam The Generic
Hi All,
I'm working on an asp.net report page that will allow the user to query some
data from a sql server database and output it on a GridVew object.
All returning data is decimal and has 4 scale.
Columns data types is Decimal(28,4) on sql server.
I am using "{0:#,0.0000}" string expression on ItemTemplate section of the
GridView object.
But the users want to see decimal values without a ineffective zero after
the decimal separator (in fraction part)
like that:
4145,1254 --> 4.145,1254
4012,1010 --> 4.012,101
712,7800 --> 712,78
44124,7000 --> 44.124,7
7104577,0000 --> 7.104.577
How can i support that ?
Thanks in advance...
I'm working on an asp.net report page that will allow the user to query some
data from a sql server database and output it on a GridVew object.
All returning data is decimal and has 4 scale.
Columns data types is Decimal(28,4) on sql server.
I am using "{0:#,0.0000}" string expression on ItemTemplate section of the
GridView object.
But the users want to see decimal values without a ineffective zero after
the decimal separator (in fraction part)
like that:
4145,1254 --> 4.145,1254
4012,1010 --> 4.012,101
712,7800 --> 712,78
44124,7000 --> 44.124,7
7104577,0000 --> 7.104.577
How can i support that ?
Thanks in advance...