protected void SaveDataClick(object sender, EventArgs e) { Hashtable ht = new Hashtable(); foreach (string item in arr1) { ht[item] = Util.GetControlValue(this.sszl.Parent.FindControl(item)); } try { U_ZCBU zc1 = new U_ZCBU(); ht["id"] = Request["id"]; zc1.UpDateZCSSInfo(Request["id"], ht); zc1.Close(); Util.alert(this.Page, "操作提示:更新资料成功!"); } catch (Exception err1) { Util.alert(this.Page, "错误提示:更新资产数据失败,可能的原因是数据类型有错误,请检查重新输入!"); } }