<ItemTemplate> >> <mm:mmLabel ID="lblDOB" runat="server" DisplayFormat="{0:d}" CssClass="date" Text='< %# Bind("DateOfBirth") % >'></mm:mmLabel> >></ItemTemplate>>
><mm:mmLabel ID="lblDOB" runat="server" CssClass="date" Text='< %# DateTime.Parse(Eval("DateOfBirth")).ToShortDateString() % '></mm:mmLabel> >>
Compiler Error Message: CS1502: The best overloaded method match for 'System.DateTime.Parse(string)' has some invalid argumentsThis is the exact code I used (except of course the space around the % signs):
<mm:mmLabel ID="lblDOB" runat="server" DisplayFormat="{0:d}" CssClass="date" Text='< %# DateTime.Parse(Eval("DateOfBirth")).ToShortDateString() % >'></mm:mmLabel>The CSSClass is not interfering, I had actually added that in as an attempt to get it to work, but it didn't help.