Ejemplo n.º 1
0
        public static bool PushSQL(string sqlScript)
        {
            bool result = false;

            try
            {
                string resultStr = sqlConnector.Change_query(SQLServer, SQLUser, SQLPassword, SQLDatabase, sqlScript);
                if (resultStr.ToLower() == "ok")
                {
                    result = true;
                }
            }
            catch (Exception ex)
            {
            }
            return(result);
        }