I am pulling in date values from a sql server database using a gridview and and the date gets converted from
12/12/2009 to 12/12/2009 12:
Try the below code:
In the above mentioned code, my_date is the date column of the sqlserver table. The DataFormatString="{0:d}" is the main portion of this code to resolve the particular issue of yours.
my_date
DataFormatString="{0:d}"