Howdy,
In my GridView i have some bound columns displaying currency. I have
DataFormatStrin g="${0:C2}" in one of the columns but the value being
displayed is $35 . If the price has cents, then it will display the cents,
like $35.3 or $35.55, but where there's no cents, it just displays $35.
Shouldn't this override any datatypes from the datasource. Just to cofirm I
am sending a valid datatype, I checked everything out and this gridview is
being loaded from a arraylist of a class. The class has the following
property, which is even formatted there but it doens't matter...
Public ReadOnly Property Price() As Double
Get
Return FormatNumber(_p rice, 2)
End Get
End Property
Thanks!!
--
David Lozzi
dlozzi@(remove) delphi-ts.com
www.delphi-ts.com