Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I assign a calendar to a combobox and have the current date selected but allow user to pick other dates?
Posted

Use the DateTimePicker contol (look at the toolbox in Designer mode).
It's basically a combobox with a calendar.

There's also the MonthCalendar control, which does not have the time feature, but is only for dates.

Hope this helps!
 
Share this answer
 
v2
Why would you want to?

The DateTimePicker is already there, and MonthCalendar, either can be used easily.

They are both easily editable, and provide the funtionality.

Alteratively you can custom create a combo box for this, but dates are notoriously difficult to do.
 
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