Used stored procedure with c# : I write c# code with use stored procedure, he work and write database, but write error where:

while (rdr.Read())
              
  {               
  PrichinatextBox.Text = (string)rdr["Prichina"];  
dateEdit.Text = (string.Format("{yyyy-MM-dd}", rdr["data"]));  //error format exception                
}

                connection.Close();
                MessageBox.Show("Ваши данные добавлены");

Write code for realize it.