Hi.....
In some cases the date field wil not b madatory.User no need to select a date. So we need to keep datetimepicker field blank, so that we can enter null for that field in db.
Plzzz........ help me
thanku
diya
How can i keep the DateTimePicker Control blank
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Marimuthu ArigovindasamyRank #5,893 · 283 reputationPosted Jun 23, 2010, 5:21 PM EDT
dateTimePicker1.Format = DateTimePickerFormat.Custom;
dateTimePicker1.CustomFormat = " ";
dateTimePicker1.Value = DateTime.FromOADate(0);
dateTimePicker1.Enabled = false;
To store the control value in DB, use dateTimePicker1.Text