Пример #1
0
        public void createDevis(string date, int statut, string path, int cli_id)
        {
            string table = "t_devis";

            string[] nomLigne = new string[] { "De_date", "De_statut", "De_path", "Soc_id", "Cli_id" };
            string[] value    = new string[] { date, statut.ToString(), path, this.id_soc.ToString(), cli_id.ToString() };
            bdd.insert(table, nomLigne, value);
        }
Пример #2
0
        public void signIn(string nom, string prenom, int numero, string rue, string ville, string pays, int phone, string mail)
        {
            string table = "t_client";

            string[] nomLigne = new string[] { "Cli_nom", "Cli_prenom", "Cli_num_ad", "Cli_rue_ad", "Cli_ville_ad", "Cli_pays_ad", "Cli_phone", "Cli_mail", "Soc_id" };
            string[] value    = new string[] { nom, prenom, numero.ToString(), rue, ville, pays, phone.ToString(), mail, this.id_societe.ToString() };
            bdd.insert(table, nomLigne, value);
        }
Пример #3
0
        public void inscrirRDV(string nom, DateTime date, int duree, int cli_id)
        {
            string table = "t_calendrier";

            string[] nomLigne = new string[] { "Cal_nom", "Cal_date", "Cal_duree", "Soc_id", "Emp_id", "Cli_id" };
            string[] value    = new string[] { nom, date.ToString(), duree.ToString(), this.id_soc.ToString(), this.id_emp.ToString(), cli_id.ToString() };
            bdd.insert(table, nomLigne, value);
        }