protected void Page_Load(object sender, EventArgs e)
    {
        Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache);
        L_MostrTablaEmp log = new L_MostrTablaEmp();
        U_AuxQuejAdm    res = log.pageLoad(Session["Sesion"], Session["sesion"], GridView1.Rows.Count);

        GridView1.UseAccessibleHeader    = true;
        GridView1.HeaderRow.TableSection = TableRowSection.TableHeader;

        //Seteando Idiomas
        L_Idioma  idiot      = new L_Idioma();
        Object    sesidioma  = Session["idiomases"];
        Int32     formulario = 27;
        Int32     idiom      = Convert.ToInt32(sesidioma);
        Hashtable compIdioma = new Hashtable();

        idiot.mostraridioma(formulario, idiom, compIdioma);
        try
        {
            this.adm.InnerText      = compIdioma["adm"].ToString();
            this.cat.InnerText      = compIdioma["cat"].ToString();
            this.cat2.InnerHtml     = compIdioma["cat"].ToString() + " <small id='comp_our' runat='server'>" + compIdioma["comp_our"].ToString() + "</small>";
            this.all_cat.InnerText  = compIdioma["all_cat"].ToString();
            this.reg_cat.InnerText  = compIdioma["reg_cat"].ToString();
            this.Button2.Text       = compIdioma["Button2"].ToString();
            this.Button1.Text       = compIdioma["Button1"].ToString();
            this.vent_cat.InnerText = compIdioma["vent_cat"].ToString();
            this.Label1.Text        = compIdioma["Label1"].ToString();
            this.NombreCategoria.Attributes.Remove("placeholder");
            this.NombreCategoria.Attributes.Add("placeholder", compIdioma["Nomb_Cat"].ToString());
            this.GridView2.Columns[1].HeaderText = compIdioma["GV2_Nom"].ToString();
            this.GridView1.Columns[0].HeaderText = compIdioma["GV2_Nom"].ToString();
            this.GridView1.Columns[1].HeaderText = compIdioma["GV1_N_EMP"].ToString();
            this.GridView1.Columns[2].HeaderText = compIdioma["GV1_N_VEN"].ToString();
            this.GridView1.Columns[3].HeaderText = compIdioma["GV1_T_VEN"].ToString();
            //this.bloq_perfi.InnerText = compIdioma["bloq_perfi"].ToString();
        }
        catch (Exception ex)
        {
        }
        Page.ClientScript.RegisterStartupScript(this.GetType(), "Script", "redireccionar('" + res.Redir + "');", true);
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache);
        L_MostrTablaEmp log = new L_MostrTablaEmp();

        //Seteando Idiomas
        L_Idioma  idiot      = new L_Idioma();
        Object    sesidioma  = Session["idiomases"];
        Int32     formulario = 37;
        Int32     idiom      = Convert.ToInt32(sesidioma);
        Hashtable compIdioma = new Hashtable();

        idiot.mostraridioma(formulario, idiom, compIdioma);
        try
        {
            this.emp.InnerText     = compIdioma["emp"].ToString();
            this.all.InnerText     = compIdioma["all"].ToString();
            this.usr_emp.InnerHtml = compIdioma["usr_emp"].ToString() + " <small id='our_com' runat='server'> " + compIdioma["our_com"].ToString() + "</small>";
            this.empres.InnerText  = compIdioma["empres"].ToString();
            this.LB_Emp_Reg.Text   = compIdioma["LB_Emp_Reg"].ToString();
            this.LB_Wel.Text       = compIdioma["LB_Wel"].ToString();
            this.GridView1.Columns[0].HeaderText = compIdioma["GV_Nom"].ToString();
            this.GridView1.Columns[1].HeaderText = compIdioma["GV_Tel"].ToString();
            this.GridView1.Columns[2].HeaderText = compIdioma["GV_Corr"].ToString();
            this.GridView1.Columns[3].HeaderText = compIdioma["GV_Dire"].ToString();
            this.GridView1.Columns[4].HeaderText = compIdioma["GV_Nit"].ToString();
            this.GridView1.Columns[5].HeaderText = compIdioma["GV_Calif"].ToString();
            this.GridView1.Columns[6].HeaderText = compIdioma["GV_Mem"].ToString();
            //this.GridView1.Columns[5].HeaderText = compIdioma["GV_Dir"].ToString();
        }
        catch (Exception ex)
        { }

        U_AuxQuejAdm res = log.pageLoad(Session["Sesion"], Session["sesion"], GridView1.Rows.Count);

        GridView1.UseAccessibleHeader    = true;
        GridView1.HeaderRow.TableSection = TableRowSection.TableHeader;
        Page.ClientScript.RegisterStartupScript(this.GetType(), "Script", "redireccionar('" + res.Redir + "');", true);
    }