Can I format the type of a datacolumn of a dataset to currency (for a specific culture) before binding it to the grid
A:
You can set the DataFormatString property of the column to "C".
It should take the current culture into account when formatting. If this is for an application where the thread's culture wont be the user's culture than you have to do it manually as explained here.
colithium
2009-06-30 07:54:02
I am looking something to change in dataset rather than a grid column property
2009-06-30 08:17:16
If it's for display purposes then it should be done in the data grid. If it's a currency exchange issue (like $1 USD to ¥102 JPY) then that's a WHOLE different question.
colithium
2009-06-30 08:40:53
I know it can be done in DataGrid but in this particular scenario I need to do it in the dataset.
2009-06-30 09:03:50