Is there a way to dynamically set the default value of a DateTimePicker control.
So at start-up the date displayed is yesterday's date or one month ago.
Rather than a literal value as set in 'Properties'
So at start-up the date displayed is yesterday's date or one month ago.
Code:
this.dtPickStart.Value = new System.DateTime(2010, 11, 22, 0, 0, 0, 0);
Comment