![]() |
ASP .NET with C#:month not displayed for BoundField in GridVeiw
Hi,
I used GridView for one of my web application, The BoundField code is as follows: <asp:BoundField DataField="Scheduleddate" HeaderText="Quiz Scheduled on" SortExpression="Scheduleddate" DataFormatString="{0:mm/dd/yyyy}" HtmlEncode="false" /> In that i wanted Date to be displayed in mm/dd/yyyy format. The format is working fine, but month is dispalyed as "00". For eg. 00/03/2006 Can anyone help me?:help: Regards, Gerin |
change mm to MM
|
| All times are GMT. The time now is 05:08 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.