//新增月计划 protected void Cbx2_ADDMonthPlan_SelectAll_CheckedChanged(object sender, EventArgs e) { for (int i = 0; i <= Gridview_AdditionPlan.Rows.Count - 1; i++) { CheckBox cbox = (CheckBox)Gridview_AdditionPlan.Rows[i].FindControl("CheckBox2"); if (CheckBox1.Checked) { cbox.Checked = true; } else { cbox.Checked = false; } } UpdatePanel_AdditionPlan.Update(); }
protected void Close_AdditionPlan(object sender, EventArgs e) { Panel_AdditionPlan.Visible = false; UpdatePanel_AdditionPlan.Update(); }
//新增材料月计划绑定 protected void BindMatPlan_Add() { Gridview_AdditionPlan.DataSource = pp.Select_MatPlan_Add(label47.Text.ToString()); Gridview_AdditionPlan.DataBind(); UpdatePanel_AdditionPlan.Update(); }