Format Data In DataGrid

tate

Centurion
Joined
Nov 10, 2003
Messages
116
I'm learning how to use the datagrid control and can't figure out how to format a couple pieces of data. All of the data is pulled in and assigned to a dataview. The dataview is then bound to the datagrid. Once this is done is there a way to format the data in a particular column? For example; I would like to take the "price" data and format it as currency so I get the $ symbol and 2 decimal places. Another item is format date/time data into MM-dd-yy instead of the long version.

Thanks for the tips
Tate
 
Back
Top