I have a datetime column in datagridview and I display it in custom format: dd/MM/yyyy HH:mm:ss
I want to edit datetime value, so I tried adding a datetimepicker control and it works if the values are properly choosed. (yet I don't feel it is efficient).
Sometimes the invalid values are accepted and dgv_dataerror event occurs infinitely without letting me to change the value.
For example, when I keeping moving from one cell to another using keyboard arrow keys, accidentally if I press space bar, the cell value becomes empty and dataerror event occurs infinitely.
Is there any alternative solution to achieve this without datetimepicker control for changing the datetime value?