.Net ramblings
# Thursday, 12 January 2006
Fix: GridView DataFormatString not applied
for some bizarre reason, you have to set HtmlEncode=false on a bound column in a gridview, to get the DataFormatString to work.
i hope this helps somebody else staring at their gridview in disbelief as to why it doesn't work by default!


Thursday, 12 January 2006 16:01:38 (GMT Standard Time, UTC+00:00)  #    Comments [64]  Asp.NetTracked by:
http://vs/devblog/PermaLink,guid,8351df24-b7fc-4b3c-bc2b-5443c30e2cfd.aspx [Pingback]