try to use DataFormatString property of the column
e.g if you want to have a date like that "14/06/2002" you can use
mycol.DataFormatString = "{0:dd/MM/yyyy}".
Have a look to the msdn to format your date with your culture.
Regards
Remy MARICIC
----- Original Message -----
From: <goodr@m...>
To: "ASPX_Professional" <aspx_professional@p...>
Sent: Friday, June 14, 2002 1:18 PM
Subject: [aspx_professional] DataGrid BoundColumn Properties
> Hello,
> I am trying to format a DataGrid BoundColumn for a DateTime value.
> It currently displays "6/4/2002 5:00:00 AM".
> I would like to display only the time as "5:00 AM".
> I have looked at the BoundColumn Properties for the DataGrid Web Server
> Control object and it only makes referance to formating numaric values.
> Does any know how to format date/time values in the DataGrid Control.
> Thanks Ron
>