Monday 30 December 2013

ASP.Net - How to Format Date in Bind Statement inside a label

Watch this example on YouTube



<ItemTemplate>

<asp:Label ID="Label1" runat="server" Text='<%# Bind("BirthDate","{0:MMM dd, yyyy}") %>'></asp:Label>

</ItemTemplate>

No comments:

Post a Comment