From: DavidC on 21 Jul 2010 16:33 I have an asp.net page that has a GridView with bound columns. The date column is bound to a SQL datetime column. I have the formatting of the bound date to be Bind("ActivityDate", "{0:M/d/yyyy h:mm tt}") and it works fine. However, sometimes records do not have a time and show as 7/21/2010 12:00 AM Is there a way to not show the 12:00 AM as it is irrelevant when no time is entered? Thanks. -- David
|
Pages: 1 Prev: Maximum request length exceeded Next: Session inside User control |