Often, this is done by using format strings on the business layer (to take the processing load off of the database server).
Certain controls, like the DataGrid, have the format string handling functionality built in (via the Data formatting expression), and the .ToString() method accepts a format string as an optional argument.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.