In the Property Builder of the DataGrid control, select the correct Bound
Column, then in the "Data formatting expression" box add "{0:D2}.
For more information on formatting data, search on the DataFormatString
Property.
lds
"vinay" <vi*********@corpusinc.com> wrote in message
news:08****************************@phx.gbl...
Hi,
I am binding a dataset to DataGrid.
I have a field which returns decimal values.
Ex: 0.23
In dataGrid it is showing only 0 insted of 0.23!
How to format it to get the decimal value??
Thanks
vinay