protected void Page_Load(object sender, EventArgs e)
    {
        try { AdminID.Text = Session["User"].ToString(); }
        catch { Response.Redirect("LoginPage.aspx"); }
        string str = Session["User"].ToString();
        UserBO ob4 = new UserBO();

        ob4.userid = Session["User"].ToString();

        clsBLL ob5    = new clsBLL();
        int    admin1 = ob5.FindUserTypeBLL(ob4);

        if (admin1 != 1)
        {
            Session["User"] = null; Response.Redirect("LoginPage.aspx");
        }

        string name = ob5.firstnamerBLL(str);

        AdminName.Text = name;


        if (!IsPostBack)
        {
            clsBLL        ob1        = new clsBLL();
            List <string> skillList  = ob1.FirstBLL();
            List <string> skillList2 = ob1.First2BLL();
            List <string> skillList3 = ob1.First3BLL();
            try
            {
                skillCard1.Text = skillList[0];
                skillCard2.Text = skillList2[0];
                skillCard3.Text = skillList3[0];
            }
            catch
            {
                skillCard1.Text = "none";
                skillCard2.Text = "none";
                skillCard3.Text = "none";
            }

            Adminsearchshowstat.Visible = false;
        }
    }