Displaying dates

  • Thread starter Thread starter Chumley the Walrus
  • Start date Start date
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
 
Hi Chumley,

The ones who works with this are mostly in the newsgroup

microsoft.public.dotnet.framework.aspnet

You likely get an answer faster there.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top