Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...