C
Chumley the Walrus
I'm trying to display a date from my sql database, but when I use a
repeater control as follows:
<ASP:Repeater id="thedata" runat="server">
<itemtemplate> <%# Container.DataItem("ArticleDate")%>
</itemtemplate></ASP:Repeater>
the date displayed shows 6/24/2004 12:00AM, whereas i dont want to
show the 12:00AM. Using <%#
Container.DataItem("ArticleDate").ToString("F")%> gives me a 'Public
Overridable Function ToString() As String' error
????
Chumley
repeater control as follows:
<ASP:Repeater id="thedata" runat="server">
<itemtemplate> <%# Container.DataItem("ArticleDate")%>
</itemtemplate></ASP:Repeater>
the date displayed shows 6/24/2004 12:00AM, whereas i dont want to
show the 12:00AM. Using <%#
Container.DataItem("ArticleDate").ToString("F")%> gives me a 'Public
Overridable Function ToString() As String' error
????
Chumley