Beispiel #1
0
        public HxXWSelection executeQuery(String cmd, String __orderBy)
        {
            //String ret = "<Response />";
            String resp = "";

            try
            {
                resp = executeWSQuery(cmd, __orderBy);
            }
            catch (Exception e)
            {
                if (!e.Message.Contains("Esito della ricerca nullo!"))
                {
                    throw e;
                }
            }
            HxXWSelection ret = new HxXWSelection(resp);
            _lastResultSize = ret.size;
            return ret;
        }
Beispiel #2
0
        public HxXWSelection sortCurrentSet(String cmd)
        {
            String resp = "";

            try
            {
                resp = sortWSCurrentSet(cmd);
            }
            catch (Exception e)
            {
                if (!e.Message.Contains("Esito della ricerca nullo!"))
                {
                    throw e;
                }
            }
            HxXWSelection ret = new HxXWSelection(resp);
            _lastResultSize = ret.size;
            return ret;
        }