protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int      nIdCourse = Convert.ToInt32(Request.QueryString["Id"]);
                Course   course    = BLL_Course.getCourse(nIdCourse);
                Personne pers      = (Personne)HttpContext.Current.Session["ID"];

                Participation part = BLL_Participation.getUneParticipation(pers, course);

                if (course != null)
                {
                    LBL_TITRE_VALUE.Text       = course.Titre;
                    LBL_DESCRIPTION_VALUE.Text = course.Description;
                    LBL_VILLE_VALUE.Text       = course.Ville;
                    LBL_DATE_DEBUT_VALUE.Text  = course.DateDebut.ToString();
                    LBL_DATE_FIN_VALUE.Text    = course.DateFin.ToString();
                }

                if (part == null)
                {
                    BTN_ANNULER.Visible    = false;
                    BTN_PARTICIPER.Visible = true;
                }
                else
                {
                    BTN_PARTICIPER.Visible = false;
                    BTN_ANNULER.Visible    = true;
                }
            }
        }
        protected void annulerClick(object sender, EventArgs e)
        {
            int      nIdCourse = Convert.ToInt32(Request.QueryString["Id"]);
            Course   course    = BLL_Course.getCourse(nIdCourse);
            Personne pers      = (Personne)HttpContext.Current.Session["ID"];

            try
            {
                BLL_Participation.supprimerUneParticipation(pers, course);
            }
            catch
            {
            }
            finally
            {
                Response.Redirect("~/PagesWeb/Participant/Courses/ListeCoursesDisponible.aspx");
            }
        }