set datepicker value to null code example
Example: set datetimepicker value to null vb
'When the user press "clear button" or "delete key" do
dtpData.CustomFormat = " " 'An empty SPACE
dtpData.Format = DateTimePickerFormat.Custom
'On DateTimePicker1_ValueChanged event do
dtpData.CustomFormat = "dd/MM/yyyy"