to display only date and remove time ">
<%#(Container.DataItem("Datetime"))%> I changed the above line to <%#Databinder.Eval(Container.DataItem,"Datetime","{0:D}")%> And it worked.