DataFormatString in my Gridview does not work in SharePoint

Posted by Etienne on Stack Overflow See other posts from Stack Overflow or by Etienne
Published on 2009-05-15T13:06:58Z Indexed on 2010/05/11 16:44 UTC
Read the original article Hit count: 363

I have a ASP.NET GridView that i created on a page through SharePoint Designer 2007. For some reason it just does not want to work, why is that and how can i Fix it?

Funny thing, it worked on another SharePoint Server but not on the one i am working on now, so i know my code is fine, it must be something ells on the SharePoint Server maybe?

My Currency DataFormatStrings also dont want to work on my current SharePoint Server.

My DataFormatString for my Date field

<asp:BoundField DataField="c505_remdate" HeaderText="Remit. Advice Date" 
 SortExpression="c505_remdate" DataFormatString="{0:d/MM/yyyy}" />

Thanks in advanced!!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sharepoint