|
Creating a Date/Time Picker |
|
To create a Date or Time Picker control, add a DateTimePicker control to a form or other container.
The DateTimePicker control is based on the DateTimePicker class. In
reality, the DateTimePicker control can be considered as two controls in one:
you just have to choose which one of both controls you want to use.
|
Introduction to the Date Picker |
|
After adding the DateTimePicker control to the form, to allow the user to set the dates and not the times on the control, set its
Format property either to Long or to Short.
|