By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,478 Members | 1,374 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,478 IT Pros & Developers. It's quick & easy.

Need DateTimePicker to display blank

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* "=?Utf-8?B?QXVzdGluIFQ=?=" <an*******@discussions.microsoft.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.