I have a couple of columns containing numbers which some of them are zeros (0).I use the following code to format grid cells:
i = 1; i < 6; i++)
GridViewDecimalColumn myCol =
As you can tell this code turns this value: 1234567 into this: 1,234,567
But my problem is that when this formatting is applied, since some of my cells contain the value "0", all of them will be blank and empty. It's like nothing exists in that cell but if I remove the formatting, all zeros are again where they should be.
I believe this problem is probably because of the type of "GridViewDecimalColumn" class.
What's your suggestion?