Formatting Strings in a GridView Cell
- by Coesy
I pass text in a gridview cell with a pipe delimiter, for example "4|31.99|3", What I'd like to be able to do is format this text to show as
-------------
| 4 |
|£31.99 / 3%|
-------------
As you can see, I need the 4 to be Bold and be on a line of it's own, the 31.99 to be a currency and the 3 to be a percentage. Can this be done in code-behind using a converter or something?