I'm binding date to a date time picker control like this on windows form.
dtpDOB.Value = Convert.ToDateTime(reader[4]);
And when I want to clear it I'm using this code under a button click event. This is how I do that.
dtpDOB.Format = DateTimePickerFormat.Custom;
dtpDOB.CustomFormat = "";
dtpDOB.Checked = false;
But it does not work. How to solve this?