K
KevinW
I need to format a currency column in a datagrid. The line I have
tried is:
Me.DataGrid1.TableStyles(0).GridColumnStyles(3).ToString.Format("#,##0.00")
It does not work. I can format the currency in the editor, but I need
to be able to do it in code. The column in question is a decimal in
the dataset.
I am sure there is an easy way to do this but I just can't figure it
out. All the other GridColumnStyle changes to this Datagrid work
fine. I am just having problems doing a format.
Kevin
tried is:
Me.DataGrid1.TableStyles(0).GridColumnStyles(3).ToString.Format("#,##0.00")
It does not work. I can format the currency in the editor, but I need
to be able to do it in code. The column in question is a decimal in
the dataset.
I am sure there is an easy way to do this but I just can't figure it
out. All the other GridColumnStyle changes to this Datagrid work
fine. I am just having problems doing a format.
Kevin