C
Carmine Moleti
Hi to everyone,
This is the very first application I'm writing in C# .Net 2.0 for a
Smart device.
I've a class which, among its properties, there's one whose type is decimal.
This class' instances are bound to a datagrid via BindingSource.
When debugging via the emulator the datagrid correctly reports the value
in the decimal property.
Deploying the application to the pocket pc (WM 5.0) everything works ok
except for the decimal column.
E.g.:
If the property has a value of 0.52, the emulator displays 0.52 (as I
expected), while on the pocketpc it displays 52!
Summing up the column values for each row in the datagrid actually
produces the sum of only the fractionary parts!
I've read over the internet that with CF 1.1 there was a problem with
decimal columns, is it true? Does this still holds true for CF 2.0?
Thanks in advance for your help.
Regards,
Carmine
This is the very first application I'm writing in C# .Net 2.0 for a
Smart device.
I've a class which, among its properties, there's one whose type is decimal.
This class' instances are bound to a datagrid via BindingSource.
When debugging via the emulator the datagrid correctly reports the value
in the decimal property.
Deploying the application to the pocket pc (WM 5.0) everything works ok
except for the decimal column.
E.g.:
If the property has a value of 0.52, the emulator displays 0.52 (as I
expected), while on the pocketpc it displays 52!
Summing up the column values for each row in the datagrid actually
produces the sum of only the fractionary parts!
I've read over the internet that with CF 1.1 there was a problem with
decimal columns, is it true? Does this still holds true for CF 2.0?
Thanks in advance for your help.
Regards,
Carmine