Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I used a datatimepicker controler in a form. But i want set the propertise of datatimepicker, value = null , bydefault it have current date. But i dont want that. When programe start datatimepicker remain blank, after select any date it would store some vaue(date).
Posted
Updated 1-Aug-12 3:48am
v2
Comments
[no name] 1-Aug-12 9:07am    
This is not clear at all. You do not "join" datetimepickers, what and where are you "uploading" anything, what exactly is "it"? No question stated, totally lacking in detail and no code demonstrating any kind of an issue.
[no name] 1-Aug-12 9:57am    
You can't. The DateTimePicker Value property cannot be null and must have a valid datetime value.
2pai 1-Aug-12 10:09am    
So any other any option/dll/controler that i used in Form to do the task?
[no name] 1-Aug-12 10:11am    
Sure. Create your own date time picker if that is what you really want to do.

1 solution

Hi,

Let me guess...

1. join = put your DateTimePicker in a form
2. upload = post the form
3. it = the DateTimePicker

So... what you're saying seems impossible. Debug your code, you certainly are doing some DateTime.Now somewhere.

Hope it helps
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900