I want datetimepicker in such a way that user can select the date. Datetimepicker shows todays date by default. So in Properties, i tried to remove the value of Datetimepicker but its not going.
Its a windows form application
Dear @chetan,
Please refer below references, it might be help you.
C#
this.DateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.DateTimePicker.CustomFormat = " ";
VB.Net
Me.DateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom Me.DateTimePicker.CustomFormat = " "
https://stackoverflow.com/questions/21988513/to-remove-date-picker-value-in-properties-using-windows-form
https://www.codeproject.com/Questions/491325/RemoveplusCurrentplusDateplusFocusplusfromplusDate
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.