Hi All
I would like to display a date entered in my db in the following txtBox:
<asp:textbox id="txtDOB" runat="server"
Text='<%# Eval("DOB") %>'></asp:text
But the text box displays:
09/01/1980 00:00:00
I've tried both;
Text='<%# Eval("DOB", "{0:dd-MMM-yyyy}") %>'
dataformatstring="{0:dd/MM/yyyy}"
but this still returns the Time. Am I missing something?
Please help
Go to the complete details ...