Specialized Date Input Controls
Visual Basic .NET includes two controls that allow your programs to accept date (and possibly time) information as input. These two controls are discussed in this section.
The DateTimePicker Control
When you want to allow your users to enter date and time information directly, the DateTimePicker control is a flexible and user-friendly entry tool. Its basic interface allows the user to enter a date in one of two predefined formats, a time in a predefined format, or a date and/or time in a customizable format. Depending on how you set its properties (see Table 12.1), the DateTimePicker offers the user either a dynamic drop-down calendar from which to select a date or a formatted text box in which he can manually ...
Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.