Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            String fact    = "";
            String facttbl = "";
            String appid   = "";

            try
            {
                try { fact = Request.Params.ToString();
                      fact = fact.Replace("+", " "); }// .GetValues("fact")[0]; }
                catch (Exception ex) { throw ex; };
                try { facttbl = Request.Params.GetValues("facttable")[0]; }
                catch (Exception ex) { throw ex; };
                try { appid = Request.Params.GetValues("app")[0]; }
                catch (Exception ex) { };

                string tbl = Request.Params.GetValues("facttable")[0];
                fact = fact.Substring(0, fact.IndexOf("facttable=" + tbl) + ("facttable=" + tbl).Length);
                Response.Write(QuickForms3.putFact(appid, Uri.UnescapeDataString(fact), facttbl));
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
            }
        }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            String lookup    = "";
            String appid     = "";
            String updateId  = "";
            String factTable = "";

            try
            {
                try { lookup = "lkup_" + Request.Params.GetValues("field")[0]; }
                catch (Exception ex) { };
                try { appid = Request.Params.GetValues("app")[0]; }
                catch (Exception ex) { };
                try { factTable = Request.Params.GetValues("factTable")[0]; }
                catch (Exception ex) { };
                try { updateId = Request.Params.GetValues("updateId")[0]; }
                catch (Exception ex) { };

                Response.Write(QuickForms3.getSelectionList(appid, lookup, factTable, updateId));
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
            }
        }
Example #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            String label = "";
            String tbl   = "";
            String app   = "";
            String id    = "";

            try
            {
                try { app = Request.Params.GetValues("app")[0]; }
                catch (Exception ex) { };
                try { tbl = Request.Params.GetValues("tbl")[0]; }
                catch (Exception ex) { };
                try { label = Request.Params.GetValues("label")[0]; }
                catch (Exception ex) { };
                try { id = Request.Params.GetValues("id")[0]; }
                catch (Exception ex) { };

                Response.Write(QuickForms3.updateLkup(app, tbl, label, id));
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
            }
        }
Example #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            String query = "";
            String prms  = "";
            String app   = "";

            try
            {
                try { app = Request.Params.GetValues("app")[0]; }
                catch (Exception ex) { };
                try { query = Request.Params.GetValues("query")[0]; }
                catch (Exception ex) { };
                try { prms = Request.Params.GetValues("params")[0]; }
                catch (Exception ex) { };

                Response.Write(QuickForms3.executeQuery(app, query, prms));
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
            }
        }