For anyone else looking for the answer to this, set the value of the
HtmlEncode attribute of the BoundField control to false, as in:
<asp:BoundField DataField="StartDate" DataFormatString="{0:MM/dd/yyyy}"
HtmlEncode="false"/>
Apparently the value is HTML-encoded before the DataFormatString is
applied, which means the format string won't work.
Lee
[quoted text, click to view] danhur wrote:
> Did you figure out whats wrong? Same thing is happening to me.
>
>
> --
> danhur
> ------------------------------------------------------------------------
> danhur's Profile:
http://www.hightechtalks.com/m312 > View this thread:
http://www.hightechtalks.com/t2278046