Date Time Picker uncheck problem
Posted on 2004-04-21
I'm using a Data Time Picker control (System.Windows.Forms.DataTimePicker) in my application.
I set it's ShowCheckBox Property to True. And set it Checked Property to False, and Set the default value to 01/01/1978
Then when i run the application, the Data Time Picker control is always Checked! When i back to the Form Design, the Checked Property stands as False. Why??! This simply confusing me.. Did i miss out something?
So, the question is:
How to set the Data Time Picker Control value and make it stays UnChecked?
In vb6 time, i can use DTPicker1.Value = Null but this is Not working in .net.
Any idea? thks