Click here to Skip to main content
15,794,275 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to use Date Format in Datagridview in C#.Net(Window Form)
Updated 29-Jan-13 20:31pm

Share this answer
Try this:
<asp:boundfield htmlencode="false" datafield="date_column" dataformatstring="{0:dd-MM-yyyy}"/>
Share this answer
ALOK CHANDAN 30-Jan-13 1:32am    
but i want to use in window form not ASP please answer me for Window Form

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900