Пример #1
0
    //更新资产担保资料
    protected void SaveDataClick(object sender, EventArgs e)
    {
        Hashtable ht = new Hashtable();

        foreach (string item in arr1)
        {
            ht[item] = Util.GetControlValue(this.bzyx.Parent.FindControl(item));
        }

        try
        {
            U_ZCBU zc1 = new U_ZCBU();
            ht["id"] = Request["id"];
            ht.Remove("zeren");
            ht.Remove("danwei");
            ht.Remove("depart");
            zc1.UpDateZCDBInfo(Request["id"], ht);
            zc1.Close();
            Util.alert(this.Page, "操作提示:更新资料成功!");
        }
        catch (Exception err1)
        {
            Util.alert(this.Page, "错误提示:更新资产数据失败,可能的原因是数据类型有错误,请检查重新输入!");
        }
    }
Пример #2
0
    //保存律师事务所资料
    protected void SaveDataClick(object sender, EventArgs e)
    {
        Hashtable ht = new Hashtable();

        ht["lssws"] = this.lssws.Text;
        ht["frdb"]  = this.frdb.Text;
        ht["wtls"]  = this.wtls.Text;
        ht["lxdh"]  = this.lxdh.Text;
        ht["dwdz"]  = this.dwdz.Text;
        ht["dzyj"]  = this.dzyj.Text;
        U_ZCBU zc1 = new U_ZCBU();

        zc1.UpDateZCDBInfo(Request["id"], ht);
        zc1.Close();
        Comm.ShowInfo("【操作提示】:更新资料成功!", Request.RawUrl);
    }