第1个回答 2019-01-11
Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged
Dim Y, M, D As String
Y = DateTimePicker1.Value.Year
M = DateTimePicker1.Value.Month
D = DateTimePicker1.Value.Day
End Sub
你把Y,M,D替换为Textbox就行了本回答被网友采纳