Tuesday, January 27, 2009

GridView with BoundField which was setup to format date field with DataFormatString but string formatting is not working

html encoding is applied by default for the data before it is formatted. Therefore set HtmlEncode="false" to the BoundField so that formatting has expected effect.


http://aspadvice.com/blogs/joteke/archive/2005/09/25/12871.aspx


http://www.netnewsgroups.net/group/microsoft.public.dotnet.framework.aspnet/topic24899.aspx