Friday, 13 January 2006

BoundField DataFormatString problem

Wondering why {0:c} isn't formatting your number as currency? The solution turns out to be that you need to set the HTMLEncode property to false!

1 comment:

David said...

One of these days, I'm going to actually remember that...
Thanks.