When I try to assign a value for a datebox I get an error like this:
Value of '01.01.0001 00:00:00' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'.
Parameter name: SelectedDate
Here's my code part:
txtBirthdate.SelectedDate = DateTime.MinValue;
- I've fixed my problem, you can delete this post -