protected void Page_Load(object sender, EventArgs e) { if (Session["connecte"] != null) { if (Request.Params["evenementId"] != null) { Session["evenementId"] = Request.Params["evenementId"].ToString(); } if (Request.Params["idpersonne"] != null) { Session["idPersonneListe"] = Request.Params["idpersonne"].ToString(); } personneListe.id_personne = int.Parse(Session["idPersonneListe"].ToString()); evenement.id_evenement = int.Parse(Session["evenementId"].ToString()); personneConnectee.id_personne = int.Parse(Session["personneID"].ToString()); if (Request.Params["sauvercommentaire"] != null) { enregistrerCommentaire(); } if (Request.Params["sauveridee"] != null) { enregistrerIdee(); } if (Request.Params["sauverparticipation"] != null) { enregistrerParticipation(); } if (Request.Params["sauverresponsable"] != null) { enregistrerResponsable(); } participantListe = participantBLL.getParticipantAyantListeByEvenementAndPersonne(evenement, personneListe); //Récupération de la participation de la personne connectée participantConnecte = participantBLL.getParticipantAyantListeByEvenementAndPersonne(evenement, personneConnectee); RechargerParticipation(); RecupererListeCommentaires(); RecupererListeCadeaux(); //Récupérer responsable de la liste RecupererResponsableListe(); } else { Response.Redirect("/Reconnecte.aspx"); } }