DateBox SelectedValue

Thread is closed for posting
1 posts, 0 answers
  1. Abdullah Önden
    Abdullah Önden avatar
    20 posts
    Member since:
    Aug 2009

    Posted 05 Oct 2009 Link to this post


    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 -

Back to Top