Example #1
0
        public static int ExecuteSql(string dbKey, string SQLString, string content)
        {
            MyDbConnection2 conn = null;

            try
            {
                conn = DbHelperMySQL3.PopDBConnection(dbKey);
                if (null != conn)
                {
                    return(conn.ExecuteWithContent(SQLString, content));
                }
            }
            finally
            {
                DbHelperMySQL3.PushDBConnection(conn);
            }
            return(0);
        }