I have a GridView control set up, populated from a database through the BL, and one of the fields contains currency amounts. Right now it is displaying in the format of 0000.0000, and I need to bring it to a currency format that adds $ + dataNumber down to hundredths.
I have looked for filters, but so far I haven’t seen a direct and simple answer. Could using a regular expression to filter work? :/
It is my first attempt to do so. Any answers are appreciated, but please provide site documentation for me to reference while attempting to implement your suggestions.
The
GridView.BoundColumntype provides theDataFormatStringproperty you can use to specify the display format. You can use theCformat to display in currency format.