Custom Format Strings for BoundField column

  • Thread starter Thread starter Adam Right
  • Start date Start date
A

Adam Right

in gridview how can i custom format a decimal value for BoundField column ?

i want to set
125.25000 ---> 125,25
5.20000 -->5,2
45.00000 --> 45

I am using DataFormatString="{0:#,#.##}" but it does not work ..

any idea ?
 
Back
Top