Beispiel #1
0
 //新增月计划
 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();
 }
Beispiel #2
0
 protected void Close_AdditionPlan(object sender, EventArgs e)
 {
     Panel_AdditionPlan.Visible = false;
     UpdatePanel_AdditionPlan.Update();
 }
Beispiel #3
0
 //新增材料月计划绑定
 protected void BindMatPlan_Add()
 {
     Gridview_AdditionPlan.DataSource = pp.Select_MatPlan_Add(label47.Text.ToString());
     Gridview_AdditionPlan.DataBind();
     UpdatePanel_AdditionPlan.Update();
 }