Change the Databinding Expression
<%#DataBinder.Eval (Container.DataItem , 'StartDate' , '{0:c}')%>
to
In VB.NET
<%#String.Format('{0:d}' , (CType(Container.DataItem, DataRowView))('StartDate'))%>
C#
<%#String.Format('{0:d}' , ((DataRowView)Container.DataItem)['StartDate'])%>
Share with