Display only date in a ASP.NET template field
Posted on 2009-06-30
I have one ASP.NET web form using a Detail View, DV1 which is bound to an object data source, ODS.
i have a template field in DV1, and it's bound to a field in the ODS as :
<asp:Label ID="LB1" runat="server" Text='<%# Bind("tDate") %>'> </asp:Label>
When loaded the DV1 displays the date and the time in the field, how can i only display the date?