Need DateTimePicker to display blank

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a datetimepicker called say mydteTimePicker and it is bound to a dataset. However the the dataset value is
null the datetimepicker displays today's date as the default. I would like it to display a blank if there is no date. Any ideas on how to do this

Thank yo

Austin
 
* "=?Utf-8?B?QXVzdGluIFQ=?= said:
I have a datetimepicker called say mydteTimePicker and it is bound to a dataset. However the the dataset value is
null the datetimepicker displays today's date as the default. I would like it to display a blank if there is no date. Any ideas on how to do this.

I am not sure if it will work with databinding, but I would set the
control's 'ShowCheckBox' property to 'True', setting 'Checked' to
'False' will indicate a "NULL" date.
 
Back
Top