I don't think you want 'regular expression'
Try DataFormatString="{0:N0}" if you want thousands-separators
or DataFormatString="{0:F0}" if you don't
"Pablo Pecora" <> wrote in message
news:...
>
> I've a BoundColumn in a datagrid, mapping a "money" column in a SQL
> It shows like this: 12600.0000
> I just want to show the int part (ie: 12600).
> I've tried giving a Data Formatting Expresion in the datagrid (with the
> DataFormatString= property)
> I've tried with DataFormatString="/d" DataFormatString="/d{*,0}" but it
> gives me an error
>
> Do someone know how can I format a regularexpression that shows me just
the
> integer part of the decimal number?
>
> Thanks in advance!
>
>
>
|