Date field in table shows time in GridView
Hi and TIA:
I have created a date field in a table where I specifically do not want a time listed along with the date (as opposed to datetime etc).
However, when I use my GridView control to show this and other fields, the date field is always appended with at time of 12:00:00 AM.
Even if I use SQL Server Managemtn Studio to insert just the date, when GridView shows the field the midnight time is included.
I am using VS2012
Is there a way I can programmatically make sure the time is not included?
Thanks,
Cliff
|