protected void SaveData(string IsDelete)
    {
        try
        {
            if (TabContainer1.ActiveTabIndex == 0)
            {
                objVarMgr.InsertIncrementData(grPayroll, ddlMonth.SelectedValue.Trim(), ddlYear.SelectedValue.Trim(), "Y", "N", Session["USERID"].ToString(),
                                              Common.SetDateTime(DateTime.Now.ToString()), "Increment Upload");
            }
            else
            {
                objVarMgr.InsertIncrementValue(grIncrementList, ddlMonth.SelectedValue.Trim(), ddlYear.SelectedValue.Trim(), "Y", "N", Session["USERID"].ToString(),
                                               txtActionDate.Text.Trim(), "Increment Process");
            }
            //else
            //    objVarMgr.InsertBonusAllowanceData(grPayroll, "36", "",
            //        ddlMonth.SelectedValue.ToString(), ddlYear.SelectedValue.ToString(), Common.SetDateTime(DateTime.Now.ToString()),
            //        "19", Session["USERID"].ToString().Trim(), Common.SetDateTime(DateTime.Now.ToString()), "");

            this.EntryMode(false);
            lblMsg.Text = "Record Saved Successfully";
        }
        catch (Exception ex)
        {
            lblMsg.Text = "";
            throw (ex);
        }
    }