public void Write_To_Db_Bestelling(int bedienerID, int klantID, string dateTime) { try { bestelling.Write_To_Db_Bestelling(bedienerID, klantID, dateTime); } catch (Exception e) { MessageBox.Show("Chapoo couldn't connect to the database " + e.Message); } }