Пример #1
0
 protected void Delete_Click(object sender, EventArgs e)
 {
     if (Emp_PersonalInfo_Edit1.Delete())
     {
         HROne.Common.WebUtility.RedirectURLwithEncryptedQueryString(Response, Session, "Emp_List.aspx");
     }
 }
Пример #2
0
 protected void Save_Click(object sender, EventArgs e)
 {
     if (Emp_PersonalInfo_Edit1.Save())
     {
         if (CurID > 0)
         {
             HROne.Common.WebUtility.RedirectURLwithEncryptedQueryString(Response, Session, "Emp_View.aspx?EmpID=" + CurID);
         }
         else
         if (PrevCurID > 0)
         {
             HROne.Common.WebUtility.RedirectURLwithEncryptedQueryString(Response, Session, "Emp_PositionInfo_Edit.aspx?Flow=true&EmpID=" + Emp_PersonalInfo_Edit1.EmpID + "&PrevEmpID=" + PrevCurID);
         }
         else
         {
             HROne.Common.WebUtility.RedirectURLwithEncryptedQueryString(Response, Session, "Emp_BankAccount_Edit.aspx?Flow=true&EmpID=" + Emp_PersonalInfo_Edit1.EmpID + "&EnableSkip=-1");
         }
     }
 }