471,335 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,335 software developers and data experts.

DataGridView won't display a time of 12:00:00 AM

I have a DataGridView with a DateTime column, which is filled with DateTime
values. Everything displays perfectly, except for DateTime values that have
a time value of 12:00:00 AM. In that case, the DataGridView displays only
the date - not the time. I need to be able to display a time value of
midnight.

Anyone know how to make this work? These have to be DateTimes; if I change
the column to String, then the column won't sort properly by time.
Jun 27 '08 #1
0 998

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Andreas Klemt | last post: by
reply views Thread by Ed Bick | last post: by
reply views Thread by Ronald S. Cook | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.