Exemple #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //表单识别号
        string FID = "160805000002";

        #region 必备的配置代码
        //获取表单配置
        dsFPZ = CallIPCPB.Get_FormInfoDB(FID);
        htPP  = FUPpublic.initPP(Request, dsFPZ);
        //给控件传值
        wuc_content._dsFPZ = dsFPZ;
        wuc_content._htPP  = htPP;
        wuc_script._dsFPZ  = dsFPZ;
        wuc_script._htPP   = htPP;
        #endregion

        if (this.Page.Request["cscscs"] != null)
        {
            cscscs = StringOP.uncMe(Request["cscscs"].ToString(), "mima");
        }
        else
        {
            cscscs = "a=1";
        }
    }
Exemple #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //表单识别号
        string FID = "160219000020";

        #region 必备的配置代码
        //获取表单配置
        dsFPZ = CallIPCPB.Get_FormInfoDB(FID);
        htPP  = FUPpublic.initPP(Request, dsFPZ);
        //给控件传值
        wuc_content._dsFPZ = dsFPZ;
        wuc_content._htPP  = htPP;
        wuc_script._dsFPZ  = dsFPZ;
        wuc_script._htPP   = htPP;
        #endregion
    }
Exemple #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //列表识别号
        string FID = "160121000012";

        #region 必备的配置代码
        //获取表单配置
        dsFPZ = CallIPCPB.Get_FormsListDB(FID);
        htPP  = FUPpublic.initPP_list(Request, dsFPZ);
        //给控件传值
        wuc_content_onlygrid._dsFPZ = dsFPZ;
        wuc_content_onlygrid._htPP  = htPP;
        wuc_script_onlygrid._dsFPZ  = dsFPZ;
        wuc_script_onlygrid._htPP   = htPP;
        #endregion
    }
Exemple #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //识别号
        //string FID = "150919000006";
        string FID = Request["pzid"].ToString();

        #region 必备的配置代码
        //获取表单配置
        dsFPZ = CallIPCPB.Get_FormInfoDB(FID);
        htPP  = FUPpublic.initPP(Request, dsFPZ);
        //给控件传值
        wuc_content._dsFPZ = dsFPZ;
        wuc_content._htPP  = htPP;
        wuc_script._dsFPZ  = dsFPZ;
        wuc_script._htPP   = htPP;
        #endregion
    }
Exemple #5
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //表单识别号
        string FID = "sys_demo_0001";

        #region 必备的配置代码
        //获取表单配置
        dsFPZ = CallIPCPB.Get_FormInfoDB(FID);
        htPP  = FUPpublic.initPP(Request, dsFPZ);
        //给控件传值
        wuc_content._dsFPZ = dsFPZ;
        wuc_content._htPP  = htPP;
        wuc_script._dsFPZ  = dsFPZ;
        wuc_script._htPP   = htPP;
        #endregion


        //添加拓展验证(只是例子,使用中删除)
        ((Hashtable)(htPP["othercheck"]))["fieldtest"] = new string[] { " email: true, equalTo:'#mima', ", "email: '必须是电子邮件格式',equalTo:'输入值必须跟密码一致',  " };
    }