private void SaveData(string IsDelete)
    {
        long lngID = 0;

        try
        {
            StringBuilder strSBUID = new StringBuilder();

            MasterTablesManager MasMgr = new MasterTablesManager();
            //Filling Class Properties with values
            if (hfIsUpdate.Value == "N")
            {
                lngID = objDB.GerMaxIDNumber("OrientationTraining", "OriTrainingID");
            }
            else
            {
                lngID = Convert.ToInt32(hfID.Value);
            }
            string strFirstDayOri     = this.chkFDayOrien.Checked == true? "Y" : "N";
            string strFirstDayOriDate = this.txtFDayOTDate.Text;
            string strAngChiSeftyPol  = this.chkAnCSPori.Checked == true? "Y" : "N";
            string strOT     = this.chkOT.Checked == true? "Y" : "N";
            string strOTDate = this.txtOTDate.Text;
            string strRemark = this.txtRemarks.Text;

            objTM.InsertOrientaTraining(lngID.ToString(), txtEmpID.Text.Trim(), strFirstDayOri, strFirstDayOriDate, strAngChiSeftyPol,
                                        strOT, strOTDate, strRemark, IsDelete, Session["USERID"].ToString(), hfIsUpdate.Value.ToString());

            lblMsg.Text = Common.GetMessage(hfIsUpdate.Value.ToString(), IsDelete);
            //Common.EmptyTextBoxValues(this);
            this.EntryMode(false);
            this.OpenRecord(txtEmpID.Text.Trim());
        }
        catch (Exception ex)
        {
            lblMsg.Text = "";
            throw (ex);
        }
    }