c# - Setting format of date time picker dynamically in windows form -


i want set format of date dd-mm-yyyy control date time picker,i m able create date time picker dynamically can not set format dd-mm-yyyy plz needful....

have tried setting datetimepicker.customformat property?

picker.format = datetimepickerformat.custom; picker.customformat = "dd-mm-yyyy"; 

(note mm months; mm minutes.)


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -