tate Posted April 15, 2004 Posted April 15, 2004 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 Quote
tate Posted April 15, 2004 Author Posted April 15, 2004 Hey I finally found the DataFormatString property! That did the ticket. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.