protected void btn_registrar_Click(object sender, EventArgs e) { UPrincipal registro = new UPrincipal(); LPrincipal registrar = new LPrincipal(); registro = registrar.Registrar(TB_correo.Text.ToString(), TB_usuario.Text.ToString(), TB_clave.Text.ToString(), int.Parse(DDL_rol.SelectedValue.ToString())); Response.Redirect(registro.Url); }
protected void bt_enviar_Click(object sender, EventArgs e) { UPrincipal envio = new UPrincipal(); LPrincipal enviar = new LPrincipal(); envio = enviar.EnviarPqr(tb_nombre.Text.ToString(), tb_correo.Text.ToString(), tb_asunto.Text.ToString()); Response.Redirect(envio.Url); }