/// <summary> /// 审核 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void bt_Approve_Click(object sender, EventArgs e) { if ((int)ViewState["ID"] != 0) { Org_StaffBLL _staff = new Org_StaffBLL((int)ViewState["ID"]); if (_staff.Model != null && _staff.Model.ApproveFlag == 2) { if (_staff.Approve() == 0) { MessageBox.Show(this, "审核成功!"); BindData(); } } } }