2
Answers

date time grid time cell

Chris

Chris

16y
7k
1

hi first post here,

I cant really get answers on the msdn forums so I thought I would try here. Anyway, I made a datagridviewdatetimecell in which you can only see and edit the time while in edit mode. This works fine when the controller is showing but when it ends its edit, it defaults back to a full datetime being shown in the cell because it is databound to a collection of objects that are datetime. How can I hide the date and only show the time after the cell is edited?

Thanks in advance.


Answers (2)