Esempio n. 1
0
        public static int NonQuerySQL(string Conn, string SQLString, params object[] cmdParms)
        {
            switch (DataBaseType)
            {
            case DBType.SQL:
                return(SQLServerOP.NonQuerySQL(Conn, SQLString, (SqlParameter[])cmdParms));

            case DBType.Access:
                return(AccessOP.NonQuerySQL(Conn, SQLString, (OleDbParameter[])cmdParms));
            }
            return(0);
        }
Esempio n. 2
0
        public static int NonQuerySQL(string SQLString)
        {
            switch (DataBaseType)
            {
            case DBType.SQL:
                return(SQLServerOP.NonQuerySQL(SQLString));

            case DBType.Access:
                return(AccessOP.NonQuerySQL(SQLString));
            }
            return(0);
        }
Esempio n. 3
0
        public static void NonQuerySQL_Tran(ArrayList SQLStringList)
        {
            switch (DataBaseType)
            {
            case DBType.SQL:
                SQLServerOP.NonQuerySQL_Tran(SQLStringList);
                break;

            case DBType.Access:
                AccessOP.NonQuerySQL_Tran(SQLStringList);
                break;
            }
        }