Click here to Skip to main content
15,902,735 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir,

Iam using DateTimepicker in windows application.
My requirement is when iam selecting Datetimepicker I want to hide The DropDown Calender.

Could you pls help me

Thanks & Regards

Kranthi kumar
Posted

Try this.
DatetimePicker1.ShowUpDown = True;
 
Share this answer
 
Set the ShowUpDown property to true
 
Share this answer
 
Comments
kranthi.oru 8-Aug-11 5:09am    
hi Griff My requirement is How to Get two calenders in DateTimepicker When it is selected.
If you know it.Could you please help me.
OriginalGriff 8-Aug-11 5:13am    
You can't get a single DateTimePicker to have two calenders - they only have a single Value property, and so can only hold a single DateTime!
kranthi.oru 8-Aug-11 6:00am    
it is possible by adding monthcalender. I saw that design but I don't have code
kranthi.oru 8-Aug-11 6:00am    
If u know that coding please tell me.

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