song2siren
Programmer
Hello
I just need to be able to remove leading zeros from the date in this literal:
<asp:Literal id="lit_Date1" runat="server" text='<%# String.Format("{0}",Container.DataItem("conf_date")) %>' />
So, 02 March 2005 should display as 2 March 2005. Is there a simple way to do this without writing a subroutine?
Any help/suggestions would be very much appreciated.
I just need to be able to remove leading zeros from the date in this literal:
<asp:Literal id="lit_Date1" runat="server" text='<%# String.Format("{0}",Container.DataItem("conf_date")) %>' />
So, 02 March 2005 should display as 2 March 2005. Is there a simple way to do this without writing a subroutine?
Any help/suggestions would be very much appreciated.