protected void btnCalSalaryXisting_Click(object sender, EventArgs e)
    {
        EmpId   = Convert.ToInt32(Session["EmpId"]);
        EmpName = Session["EmpName"].ToString();
        EmpBand = Session["EmpBand"].ToString();
        BaseLoc = Session["BaseLoc"].ToString();

        if (iStatus == 0)
        {
            _Default Obj = new _Default();
            Obj.fnCalSalary(EmpBand, BaseLoc);
            Response.Write("<script>alert('Salary Calculated Successfully')</script>");
            Response.Redirect("SalDisplay.aspx");
        }
    }
    protected void btnCalc_Click(object sender, EventArgs e)
    {
        EmpId              = Convert.ToInt32(txtEmpId.Text);
        EmpName            = txtEmpName.Text;
        EmpBand            = drpEmpBand.SelectedItem.ToString();
        BaseLoc            = drpEmpLocation.SelectedItem.ToString();
        Session["EmpId"]   = txtEmpId.Text;
        Session["EmpName"] = txtEmpName.Text;
        Session["EmpBand"] = drpEmpBand.SelectedItem.ToString();
        Session["BaseLoc"] = drpEmpLocation.SelectedItem.ToString();
        _Default Obj = new _Default();

        Obj.fnCalSalary(EmpBand, BaseLoc);
        Response.Write("<script>alert('Salary Calculated Successfully')</script>");
        Response.Redirect("SalDisplay.aspx");
    }