ASP .NET with C#:month not displayed for BoundField in GridVeiw

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top