This question is locked. New answers and comments are not allowed.
I am using server binding for a bound grid column.
The data type sent in from my edmx is decimal with 18 precision and 0 scale.
If I pull directly from the entity object using linq and pass to the view using the ViewDate object it displays correctly (or basically the way I would expect with no decimal places or point).
When bind to a grid column it displays the number with .00 after it.
Is there anyway to keep this from happening? Preferrably without having to make a custom ViewModel for all of my entity data and relationships because I am using nested grids, tabs, etc. as I am using linq queries for the relationships between my entities.
HELP
The data type sent in from my edmx is decimal with 18 precision and 0 scale.
If I pull directly from the entity object using linq and pass to the view using the ViewDate object it displays correctly (or basically the way I would expect with no decimal places or point).
When bind to a grid column it displays the number with .00 after it.
Is there anyway to keep this from happening? Preferrably without having to make a custom ViewModel for all of my entity data and relationships because I am using nested grids, tabs, etc. as I am using linq queries for the relationships between my entities.
HELP