Gridview Date formatting problem.
- From: Jules Wensley <juleswensley@xxxxxxxxx>
- Date: Thu, 15 Dec 2005 16:50:08 -0800
Hi
I have a Gridview in ASP.Net 2.0. I'm populating it with data from a SQL 2005 database (but with legacy design).
In the DB, the dates are stored as DateTime - DD/MM/YY HH:MM:SS.
In the bound Gridview, I'm applying the {0:d} format (to show just the short date).
The date is still displayed in the same format as the DB.
Anybody know of a solution to this, or am I going to populate the Gridview manually, applying formatting then.
Thanks in advance for your assistance.
Jules
.
- Follow-Ups:
- Re: Gridview Date formatting problem.
- From: Stephen Howe
- Re: Gridview Date formatting problem.
- Prev by Date: Re: OLEDBDataReader has no rows, yet query is fine in Access
- Next by Date: RE: OLEDBDataReader has no rows, yet query is fine in Access
- Previous by thread: OLEDBDataReader has no rows, yet query is fine in Access
- Next by thread: Re: Gridview Date formatting problem.
- Index(es):
Relevant Pages
|
|