for boundfield in a gridview I use this:
<asp:BoundField DataField="DOB" DataFormatString="{0:dd/MM/yyyy}" HeaderText="DOB" SortExpression="DOB" >
<ItemStyle Wrap="False" />
</asp:BoundField>
But for an item template which has a label I use the following:
<ItemTemplate>
<asp:Label ID="lblDOB" runat="server" Text='<%# Bind("DOB") %>'></asp:Label>
</ItemTemplate>
Where do I set the formatting of the label in the above template?
Thx in advance