Re: Format Date in Databound column
- From: "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@xxxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 18:10:12 +0200
Set HtmlEncode = false for the column.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Vaughn Haybittle" <vhaybittle@xxxxxxxxxx> wrote in message
news:%23YDTNpxOHHA.4644@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a Gridview which is populated via a stored procedure. One of the
coumns returned is a date. The date is currently displayed as 18/01/2007
00:00:00. I just want to show the date without the time i.e. 18/01/2007.
I have tried adding a dataformatstring of {0:d} but it is not making any
difference.
Can anyone advise me on what I am doing wrong?
T.I.A.
Vaughn
.
- Follow-Ups:
- Re: Format Date in Databound column
- From: Vaughn Haybittle
- Re: Format Date in Databound column
- References:
- Format Date in Databound column
- From: Vaughn Haybittle
- Format Date in Databound column
- Prev by Date: Format Date in Databound column
- Next by Date: Re: Gridview column formatting
- Previous by thread: Format Date in Databound column
- Next by thread: Re: Format Date in Databound column
- Index(es):
Relevant Pages
|
Loading