protected void Page_Load(object sender, EventArgs e)
    {
        Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache);
        Response.Cache.SetAllowResponseInBrowserHistory(false);
        Response.Cache.SetNoStore();


        Int32   FORMULARIO = 11;
        LIdioma idioma     = new LIdioma();
        UIdioma com        = new UIdioma();


        try
        {
            int DDL = int.Parse(Session["ddl"].ToString());
            com = idioma.idiomaListaempleados(FORMULARIO, DDL);
        }
        catch
        {
            int DDL = 1;
            com = idioma.idiomaListaempleados(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_listEmple.Text                  = com.A;
        BT_Nuevo.Text                      = com.B;
        BT_Modificar.Text                  = com.C;
        BT_Eliminar.Text                   = com.D;
        LB_buscar.Text                     = com.E;
        BT_Buscar.Text                     = com.F;
        validator_username.Text            = com.G;
        RFV_alerta.Text                    = com.H;
        GV_Empleados.Columns[2].HeaderText = com.I;
        GV_Empleados.Columns[3].HeaderText = com.J;
        GV_Empleados.Columns[4].HeaderText = com.K;
        GV_Empleados.Columns[5].HeaderText = com.L;
        GV_Empleados.Columns[6].HeaderText = com.M;
        GV_Empleados.Columns[7].HeaderText = com.N;
        GV_Empleados.Columns[8].HeaderText = com.O;
        GV_Empleados.Columns[9].HeaderText = com.P;
        Session["eliminar"]                = com.Q;
        Session["men1"]                    = com.R;
        Session["men2"]                    = com.S;
        Session["buscaremp"]               = com.S;

        LUsuario dato = new LUsuario();

        GV_Empleados.DataSource = dato.obtenerEmpleados();
        GV_Empleados.DataBind();
        try
        {
            SRUniempleo.ServidorUniempleoSoapClient men = new SRUniempleo.ServidorUniempleoSoapClient();
            men.ClientCredentials.UserName.UserName = "******";
            men.ClientCredentials.UserName.Password = "******";

            SRUniempleo.SeguridadToken obSeguridad = new SRUniempleo.SeguridadToken()
            {
                username = "******",
                Pass     = "******"
            };
            String StToken = men.AutenticacionUsuario(obSeguridad);
            if (StToken.Equals("-1"))
            {
                throw new Exception("Requiere Validacion");
            }

            obSeguridad.Token_Autenticacion = StToken;
            DataSet   a    = men.Top_5_Aspirantes(obSeguridad);
            DataTable ofer = a.Tables[0];
            SRUniempleo.ServidorUniempleoSoapClient servicio = new SRUniempleo.ServidorUniempleoSoapClient();
            //DataSet topaaspirantes = servicio.Top_5_Aspirantes();
            GridView1.DataSource = ofer;
            GridView1.DataBind();
        }
        catch (Exception ex)
        {
            Response.Write("<Script language='JavaScript'>parent.alert('" + ex.Message + "');</Script>");
        }
    }