protected void Page_Load(object sender, EventArgs e)
        {
            //Session["HODID"] = 104;
            Session["departmentid"] = "ARTS";
            Session["employeeid"]   = 78;
            departmentCode          = (string)Session["departmentid"];
            hodID      = (int)Session["HODID"];
            employeeID = (int)Session["employeeid"];

            if (!IsPostBack)
            {
                //populate employee list excluding the HOD
                dgvAssignRep.DataSource = BusinessLogic_Sam.EmployeeList(departmentCode, hodID);
                dgvAssignRep.DataBind();
                //check current rep name
                repName = BusinessLogic_Sam.checkCurrentRep(departmentCode);
                for (int rowIndex = 0; rowIndex < dgvAssignRep.Rows.Count; rowIndex++)
                {
                    if (dgvAssignRep.Rows[rowIndex].Cells[0].Text == repName)
                    {
                        Button buttonAssign = (Button)dgvAssignRep.Rows[rowIndex].FindControl("btnAssign");
                        buttonAssign.Text      = "Current";
                        buttonAssign.BackColor = System.Drawing.Color.Red;
                        dgvAssignRep.Rows[rowIndex].BackColor = System.Drawing.Color.LightBlue;
                        lblRepName.Text       = repName;
                        Session["CurrentRep"] = repName;
                        lblRepSubtitle1.Text  = " is the current Department Representative.";
                    }
                }
            }
        }