Click here to Skip to main content
15,908,274 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I have used list view in my project, to populate data from the datatable. And the datatable will be populated directly from the SQL Server DB, which contains column name EventDate(datetime).

While displaying the event date on the label control inside a listview, it is displaying the data as for ex: 05-03-2012 00.00.00 instead I want to display it as "05th March 2012".

Please help me achieve it.

Thanking you

Kind regards
Azeem
Posted

1 solution

Hi, you can use date formatting following this link: http://support.microsoft.com/kb/308133[^]
 
Share this answer
 

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