BUG: DataFormatString for GridView Column Not Working

I ran across this problem over the weekend trying to shorten the display for a date
and time to just a date using {0:d} as the value for the DataFormatString field. The
fix is to set HtmlEncoding to false for the column.

Here
is the bug info on MSDN

Random Posts

Loading…

One Response to “BUG: DataFormatString for GridView Column Not Working”

  1. Gordy Frank says:

    THANK YOU for posting this information!!!!!!

Leave a Reply