Datagrid date format

kahlua001

Contributor
Joined
Dec 15, 2003
Messages
507
Location
los angeles
I'm not too familiar with winforms datagrids. Say I have a datatable, a few columns are of the DateTime variable. Now, i do.

Datagrid1.DataSource = myDatatable

This is just a fast way for me to see whats in my datatable. Problem I have is that the dates are displayed like 1/12/2005 when i want to see 1/12/2005 15:00

How do I do this without knowing which columns are of DateTime variable?

Thanks
 
Back
Top