Hi all, I have a column with Datetime data type in a GridView, the DataFormatString is set as {0:d}, however the Time portion stil appears in the cell, any idea? Thanks. Hi, Liew,
There's an HTMLEncode property that you need to set for the column. I believe the default value is TRUE, but you need to set it to false.
HTMLEncode is there to prevent malicious cross-site scripting.
Kevin