//处理资产处置 protected void Repeater6_ItemCommand(object source, RepeaterCommandEventArgs e) { if (e.Item.FindControl("zccz") != null) { string id = ((Label)e.Item.FindControl("zccz")).Text; //删除资产处置方式 if (e.CommandName == "delete") { U_ZCBU zc3 = new U_ZCBU(); zc3.DelZCFS(id); this.BindZCCZDetail(zc3); zc3.Close(); } else { Context.Items["id"] = id; if (Request["id"] != null) { Context.Items["zcid"] = Request["id"].ToString(); } // Context.Items["czid"] = this.zcczid.Text; Server.Transfer("EditZcCzfs.aspx", false); } } }