DateTimePicker1 = dateofbirth.Text
it says The Value of type 'String' cannot be converted to 'System.Windows.Forms.DateTimePicker'.
please help me how to convert the date from textbox to datetimepicker the format of date is yyyy/MM/dd. thank you in advance.