|
-
Jan 15th, 2004, 12:11 AM
#1
Thread Starter
Member
Emptying the DateTimePicker value?
Hi. I am having some problems with the DateTimePicker control. By default, the control would always have some invalid date values. I would like however to 'clear' it without displaying any date but only display it when user selected. I tried something like this but it doesn't work:
dtpDateOfBirth.Value = Nothing
I've got an System.ArgumentException and an error message like
Additional information: '1/1/0001 12:00:00 AM' is not a valid value for 'Value'. 'Value' should be between 'MinDate' and 'MaxDate'
Any help is greatly appreciated.
Archaven
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|