예제 #1
0
파일: database.cs 프로젝트: wezerg/M2L_R2S
        public void supprLigue(string idLigue)
        {
            dbConnect();
            supprLigueSalleSalarie supprLigue = new supprLigueSalleSalarie(dbQuery("SELECT l.id, l.intitule " +
                                                                                   "FROM ligue l " +
                                                                                   "WHERE l.id = " + '"' + idLigue + '"' + ";"));

            dbDisconnect();
            supprLigue.Text = "Supprimer Ligue";
            supprLigue.ShowDialog();
        }
예제 #2
0
파일: database.cs 프로젝트: wezerg/M2L_R2S
        public void supprSalle(string idSalle)
        {
            dbConnect();
            supprLigueSalleSalarie supprSalle = new supprLigueSalleSalarie(dbQuery("SELECT s.id, s.localisation " +
                                                                                   "FROM salle s " +
                                                                                   "WHERE s.id = " + '"' + idSalle + '"' + ";"));

            dbDisconnect();
            supprSalle.Text = "Supprimer Salle";
            supprSalle.ShowDialog();
        }
예제 #3
0
파일: database.cs 프로젝트: wezerg/M2L_R2S
        public void supprSalarie(string idUser)
        {
            dbConnect();
            supprLigueSalleSalarie supprSalarie = new supprLigueSalleSalarie(dbQuery("SELECT u.id, u.nom, u.prenom " +
                                                                                     "FROM utilisateur u " +
                                                                                     "WHERE u.id = " + '"' + idUser + '"' + ";"));

            supprSalarie.Text = "Supprimer Salarié";
            dbDisconnect();
            supprSalarie.ShowDialog();
        }