protected void Button2_Click(object sender, EventArgs e) { string pass = tk.MaHoaMD5(txtPass.Text); if (tk.KtraTonTaiCustomer(txtName.Text) == false && tk.KtraTonTaiAddMin(txtName.Text) == false) { tk.AddTaiKhoanCus(pass, txtName.Text, Convert.ToInt16(txtTuoi.Text), txtEmail.Text, txtDiaChi.Text, txtSDT.Text, txtMatour.Text); Response.Redirect("FormSignIn.aspx"); } else { Response.Redirect("FormSignUp.aspx"); txtName.Text = ""; txtName.Focus(); } }