Set Datetimepicker to a date from a string
<p>I got a file which has dates stored as the following format (yyyy|dMM|dd). I now need to retrieve the values from this file and set the datetimepicker to the correct year month and day matching the ones in the stored string. Im able to retrieve all data correctly only i dont know how to set the calander correctly matching the strings. This is what i got so far although it doesnt work:</p>

<pre><code>string[] editdate = clean[3].Split('|');
EditDatepickCalendar.Value = DateTime.Parse("{0},{1},{2}", editdate[0], editdate[1], editdate[2]);
</code></pre>
