I am using a DateTimePicker in a Windows Form app., but the value is always the current date. I am displaying the value of the picker in a label when a button is clicked, but the value does not change even though the picker shows the newly selected date. What am I missing here?
Code:
lblTest.Text = dtPicker.Value.ToString();
Comment