Link to home
Start Free TrialLog in
Avatar of CoreSupport
CoreSupportFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Grid veiw format a date so it shows the month name


Hi all,
I have a grid view which displays a date from a database. I have the date in the dd-mm-yyyy format by putting this code in the source of the aspx page:
DataFormatString="{0:dd-M-yyyy}" HtmlEncode="False"

Is there a format i can use to get the following:
2 March 2006

instead of 2/3/2006?

Cant find the right info on this as there so much on it!
Cheers
D
ASKER CERTIFIED SOLUTION
Avatar of DreamMaster
DreamMaster

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CoreSupport

ASKER

Hey
havent done that before...
Can I call a method in the asp then and just work out what the month is based on the month id?
Cheer
d
Avatar of DreamMaster
DreamMaster

You could do that..

Regards,
Max.
Glad to have been helpfull.

Regards,
Max.