Esempio n. 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        LUser recu = new LUser();

        Response.Cache.SetNoStore();
        int    x = Request.QueryString.Count;
        string y = Request.QueryString[0];

        Session["user_id"] = recu.Recuperar(x, y);
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        Int32   FORMULARIO = 32;
        LIdioma idioma     = new LIdioma();
        UIdioma com        = new UIdioma();


        try
        {
            int DDL = int.Parse(Session["ddl"].ToString());
            com = idioma.idiomaRecuperar_contraseña(FORMULARIO, DDL);
        }
        catch
        {
            int DDL = 1;
            com = idioma.idiomaRecuperar_contraseña(FORMULARIO, DDL);
        }


        Hashtable compIdioma = new Hashtable();

        Session["mensajes"] = compIdioma;

        //for (int i = 0; i < info.Rows.Count; i++)
        //{
        //    compIdioma.Add(info.Rows[i]["control"].ToString(), info.Rows[i]["valor"].ToString());
        //}
        LB_recucontra.Text    = com.A;
        LB_newpas.Text        = com.B;
        LB_Rnewpas.Text       = com.C;
        CV_veri.Text          = com.D;
        Guardar_new_pass.Text = com.E;
        Session["men"]        = com.F;



        LUser recu = new LUser();

        Response.Cache.SetNoStore();
        int    x = Request.QueryString.Count;
        string y = Request.QueryString[0];

        Session["user_id"] = recu.Recuperar(x, y);
    }