Format DateTime in the Label of a GridView Control

Monday, July 9, 2012

Use the following Format for the Label of the GridView ::

<asp:Label ID="lblApplDated" runat="server" Text='<%# Eval("APPLDATE", "{0:dd/MM/yyyy}")%>'></asp:Label>
                                                             

0 comments:

Post a Comment