コード例 #1
0
ファイル: Registro.aspx.cs プロジェクト: AlejaPR/Uniempleo
    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);
    }
コード例 #2
0
    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);
    }