- Joined
- Sep 3, 2006
- Messages
- 1
- Reaction score
- 0
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?
Regards,
Gerin
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?
Regards,
Gerin