>>Hi,
>>
>>I am trying to display just the date part of a datetime field in a gridview, but the time is always displayed. Can anybody see anything wrong with this?
>>
>>
<ItemTemplate>
>> <mm:mmLabel ID="lblDOB" runat="server" DisplayFormat="{0:d}" CssClass="date" Text='< %# Bind("DateOfBirth") % >'></mm:mmLabel>
>></ItemTemplate>
>
>Frank, see if there is an HtmlEncode property for the column. You will need to set that to false.
>Tim
Tim, can you give me an example? I'm not seeing any reference to htmlencode in the aspx page. It's not showing up in intellisense, but I'm not sure I've tried in the right places.