Esempio n. 1
0
        }//stored Procedure

        public void update_name(int param1, string param2)
        {
            SqlParameter[] param = new SqlParameter[2];
            param[0]       = new SqlParameter("@IDCAT", SqlDbType.Int);
            param[0].Value = param1;
            param[1]       = new SqlParameter("@NomCAT", SqlDbType.VarChar, 50);
            param[1].Value = param2;
            ADO.ExecuteProcedure("stored", param);
        }// METHODE VIDER