Date/Time presentation in a GridView
I am using a stored procedure in my web application and following definition:
CREATE TABLE #JobListTable
(
job_date datetime,
job_number char(15),
cost_code char(15),
qty_delivered decimal(8,2),
When I display the data in a web page and a GridView the date comes up as:
4/15/2008 12:00:00 AM
4/16/2008 12:00:00 AM
When I display the data using Windows from and DataGridView the date comes up as:
4/15/2008
4/16/2008
How can I manipulate the the result only to show date in my web page (without changing anything in my stored procedure)?
|