One Final Datagrid Question.......

  • Thread starter Thread starter Mike Fellows
  • Start date Start date
M

Mike Fellows

apologies for the amount of questions I have asked about datagrids lately
this is now my final one

my datagrid is populated from an MS Access Query, one of the columns within
the datagrid is a date and time
column, Now within the access database it shows the date AND time perfectly
(as you would expect) but when
it is put into the datagrid it only shows the date! I have tried everything
to get it to show the time as well and it
never shows the time

How do i get the datagrid to show the date AND time?



Regards

Mike Fellows
 
Hi Mike,

For the WinForms data grid, it should be enough to set the proper Format
property value on the corresponding DataGridColumnStyle. You might wish to
review the "Showing Time in Grid" thread in this newsgroup for more
technical details.
 
Back
Top