This question is locked. New answers and comments are not allowed.
Hi
I have a problem with formatting number shown in GridViewDataColumn.
I want to show a number like "#.##########"("{}{0:N10}") with zero at right of decimal trimmed.
for example:
A value of "12.12345678912" should be shown as "12.1234567891".
But a value of "12.12345678000" should be shown as "12.12345678".
Is there any way to resolve the problem by setting DataFormatString ? or should I resolve it by other way like handling TextChanged event.
Best Regards
I have a problem with formatting number shown in GridViewDataColumn.
I want to show a number like "#.##########"("{}{0:N10}") with zero at right of decimal trimmed.
for example:
A value of "12.12345678912" should be shown as "12.1234567891".
But a value of "12.12345678000" should be shown as "12.12345678".
Is there any way to resolve the problem by setting DataFormatString ? or should I resolve it by other way like handling TextChanged event.
Best Regards