DateTimePicker Control:-



This Control is used to Display the DateTime to the User so that user Can select the required Date to avoid the required date to the user.

Properties:-

1.  Max
2.  Min
3.  Value
4.  Format(options [Long(Default),Short,Time,Custom])
5.  CustomFormat

1)Max Date:-Used to set or get the required date value upto where the user can allowed to select the date.

2)Min Date:-used to set or get the least date value from where user can be allowed to select the date.

3)Value:-Used to set or get the date value within the DateTimePicker Control

4)Format:-Used to set or get the required Format for the Date.

5)Custom Format:-Used to set the required Format value when Format value when Format is set to Custom

Default Event of the DateTimePicker Control :-

ValueChanged:-

This Event is forired whwnever Date Value changes within the DateTimePicker Control.

No comments:

Post a Comment