remove date from DateTimePicker for Compact Framework
http://msdn.microsoft.com/en-us/library/aa446530.aspx
but there is no possibility to null date or to delete date from text field.开发者_JAVA技巧
how to remove date from textfield or how to connect TextField with DateTimePicker
To display blank you can set it as
DateTimePicker1.Format = DateTimePickerFormat.Custom;
DateTimePicker1.CustomFormat = "";
and then reset the format in ValueChanged
event to the desired format. The picker doesn't allow null values since it requires a valid DateTime object.
You may choose to have a custom control also as found here
精彩评论