protected void AssignedEmpGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e) { bEmployeeStatus = new BranchEmployeeStatusManager(); AssignedEmpGV.EditIndex = -1; DataTable getds = BranchEmployeeStatusManager.BindGrid(); BindDataSetToGV(getds); }
protected void BranchEmpCurrentStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e) { bEmployeeStatus = new BranchEmployeeStatusManager(); BranchEmpCurrentStatusGV.EditIndex = -1; DataTable getds = BranchEmployeeStatusManager.getSpecBranchEmpStatus(branchID); BindDataSetToGV(getds); }
protected void BranchEmpCurrentStatusGV_RowEditing(object sender, GridViewEditEventArgs e) { clearMsgPanel(); isBranchSelected(); bdEmployeeStatus = new BranchEmployeeStatusManager(); BranchEmpCurrentStatusGV.EditIndex = e.NewEditIndex; DataTable getds = null; if (isAllbranch) { Panel1.Visible = true; getds = BranchEmployeeStatusManager.getAllBranchEmpStatus(); } else { Panel1.Visible = true; getds = BranchEmployeeStatusManager.getSpecBranchEmpStatus(branchID); } BindDataSetToGV(getds); }
protected void OtherDPromotionGV_RowEditing(object sender, GridViewEditEventArgs e) { bEmployeeStatus = new BranchEmployeeStatusManager(); OtherDPromotionGV.EditIndex = e.NewEditIndex; DataTable getds = BranchEmployeeStatusManager.getAssignedEmployeeFormOtherDistrict(); BindDataSetToGVforOtherDistrict(getds); }