Datetimepicker validating event c indian azdg dating friendship
Let us add two Date Time Picker controls on the form, where the user will enter the date of going on leave and the date of joining.
The new selected value appears in the text box part of the control. The Min Date and the Max Date properties allow you to put limits on the date range. The following are some of the commonly used properties of the Date Time Picker control: In this example, let us create a small application for calculating days of leave. The form in design view: Add the following code in the code editor window: Public Class Form1 Private Sub Form1_Load(sender As Object, e As Event Args) Handles My Base. Hi All, I am trying to write a validation rule for Date Time Picker, which will prevent user from selecting saturday or sunday as a value.