Design a Vb.net form to pick a date from DateTimePicker Control and display day, month and year in separate text boxes
Slip9
Public Class Form1
Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged
Dim d As DateTime
d = DateTimePicker1.Value
TextBox1.Text = d.Day
TextBox2.Text = d.Month
TextBox3.Text = d.Year
End Sub
End Class
NICE
ReplyDelete