Home Forums WinForms controls Other WinForms controls WinDatePicker Reply To: WinDatePicker

User (Old forums)
Post count: 23064

You can’t set the text property, since what’s behind the text is not a string but a date. You need to use the Value property to do this.


winDatePicker1.Value = new DateTime( 2006, 9, 27 );

Imported from legacy forums. Posted by André (had 3090 views)