Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
how to date picker value zero form load event in windows applications
Posted
Comments
DamithSL 10-Jan-16 23:06pm    
which datepicker control you have used? do you need to set default datepicker value as zero? or null? why you need to do so?
iamvinod34 10-Jan-16 23:15pm    
windows application c#
datetimepicker.....
default value as zero....
...employee Leaving date...
Sinisa Hajnal 11-Jan-16 2:47am    
You cannot set datetime to zero. You can select some date that you know will be "not set" such as DateTime.MinDate OR you could allow it to be null (by selecting checked property)

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