protected void Delete_Click(object sender, EventArgs e) { if (Emp_BankAccount_Edit1.Delete()) { HROne.Common.WebUtility.RedirectURLwithEncryptedQueryString(Response, Session, "~/EmpTab_BankAccount_View.aspx?EmpID=" + Emp_BankAccount_Edit1.EmpID); } }
protected void Save_Click(object sender, EventArgs e) { if (Emp_BankAccount_Edit1.Save()) { if (Flow.Value.Equals("true")) { HROne.Common.WebUtility.RedirectURLwithEncryptedQueryString(Response, Session, "~/Emp_PositionInfo_Edit.aspx?Flow=true&EmpID=" + Emp_BankAccount_Edit1.EmpID); } else { HROne.Common.WebUtility.RedirectURLwithEncryptedQueryString(Response, Session, "~/Emp_BankAccount_View.aspx?EmpBankAccountID=" + Emp_BankAccount_Edit1.EmpBankAccountID + "&EmpID=" + Emp_BankAccount_Edit1.EmpID); } } }
protected void Page_PreRenderComplete(object sender, EventArgs e) { TitleCode.Text = ((TextBox)Emp_BankAccount_Edit1.FindControl("EmpBankAccountHolderName")).Text; }