I try to change date value of this control but nothing happens - it shows default value
Code: Select all
DateTimePickerControl1.Value = System.DateTime.Now.AddYears(-50);
Code: Select all
DateTimePickerControl1.Format = DateTimePickerFormat.Custom;
DateTimePickerControl1.CustomFormat="yyyyMMdd";