Hi
I want to display only Date in format dd/MM/yyyy
<asp:templatefield headertext="Date"> <itemtemplate> <asp:label runat="server" id="lblDate" text='<%#Eval("Date") %>'></asp:label> </itemtemplate> </asp:templatefield>
Thanks
hi
you can use string format below like :
<ItemTemplate> <asp:label runat="server" id="lblDate" text='<%#Eval("Date", "{0:dd/MM/yyyy}") %>'></asp:label> </ItemTemplate>