}// protected void BtnReset_Click(object sender, EventArgs e) { DropDownList1.ClearSelection(); TxtSearchStaffNO.Text = ""; TxtSearchName.Text = ""; DdlSearchDep.ClearSelection(); DdlSearchPost.ClearSelection(); BindGridForEmployee(Grid_Detail, ""); LblStateForGrid_Type.Text = "检索前"; } //考核录入的员工信息栏的“重置”
}//xxx的员工信息栏的“检索” protected void BtnResetEmployee_Click(object sender, EventArgs e) { TxtSearchStaffNO.Text = ""; TxtSearchName.Text = ""; DdlSearchDep.ClearSelection(); DdlSearchPost.ClearSelection(); LabelForSearchEmployee.Text = "检索前"; BindGridForEmployee(Grid_Detail, " and HRPAT_ID='" + Label50.Text + "'"); UpdatePanel_SearchEmployee.Update(); UpdatePanel_Grid_Detail.Update(); }//xxx的员工信息栏的“重置”
}//员工列表的databound protected void BtnReset_Click(object sender, EventArgs e) { DropDownList1.ClearSelection(); //DropDownList3.ClearSelection(); //DropDownList4.ClearSelection(); TxtSearchStaffNO.Text = ""; TxtSearchName.Text = ""; DdlSearchDep.ClearSelection(); DdlSearchPost.ClearSelection(); BindGridForEmployee(Grid_Detail, " and HRPD_Year='" + LabelYear.Text.Trim() + "' and HRPD_Month ='" + LabelMonth.Text.Trim() + "' "); LblStateForGrid_Type.Text = "检索前"; } //考核录入的员工信息栏的“重置”
protected void BtnReset_Click(object sender, EventArgs e) { DdlSearchDep.ClearSelection(); DdlSearchPost.ClearSelection(); DropDownList3.ClearSelection(); DropDownList4.ClearSelection(); TxtSearchStaffNO.Text = ""; TxtSearchName.Text = ""; BindGrid_Detail(""); LblStateForGrid_Type.Text = "检索前"; UpdatePanel_SearchEmployee.Update(); }