Use this...if is column null i want to show this value in selection changed
- private DateTime emptydate = DateTime.Parse("2018-01-01 00:00:00");
How to setup this line for selection changed
- vrijemeodjaveDateTimePicker.Value = string.IsNullOrEmpty(vrijemeodjaveDateTimePicker.Value == emptydate) ? ((object)DBNull.Value : vrijemeodjaveDateTimePicker.Value;

Nitin SontakkeRank #264 · 9.6K reputationPosted Mar 24, 2018, 6:57 PM EDT
Bryian TanRank #396 · 6.3K reputationPosted Mar 24, 2018, 7:02 PM EDT
Rafnas T PRank #280 · 8.8K reputationPosted Mar 25, 2018, 2:10 AM EDT
Goran BibicRank #993 · 2K reputationPosted Mar 24, 2018, 10:39 PM EDT