private void SaveData(string IsDelete)
    {
        try
        {
            if (hfIsUpdate.Value == "Y")
            {
                hfId.Value = hfId.Value;
            }
            else
            {
                hfId.Value = Common.getMaxId("TrRequisition", "ReqID");
            }

            var    match    = Regex.Match(txtReviewBy.Text.Trim(), "(^(\\w+(.)*\\s)+\\[)*(\\w+)");
            string empidRev = match.Groups[match.Groups.Count - 1].Value;

            match = Regex.Match(txtRecomandedBy.Text.Trim(), "(^(\\w+(.)*\\s)+\\[)*(\\w+)");
            string empidRec = match.Groups[match.Groups.Count - 1].Value;

            match = Regex.Match(txtApproveBy.Text.Trim(), "(^(\\w+(.)*\\s)+\\[)*(\\w+)");
            string           empidApp = match.Groups[match.Groups.Count - 1].Value;
            clsTrRequisition objTrReq = new clsTrRequisition(
                hfId.Value.ToString(),
                ddlSchedule.SelectedValue.ToString(),
                hfTrainingId.Value,
                this.ddlSigenBy1.SelectedValue.ToString().Trim(),
                this.ddlSigenBy2.SelectedValue.ToString().Trim(),
                this.ddlSeenBy.SelectedValue.ToString().Trim(),
                empidRev, empidRec, empidApp,
                (chkInActive.Checked == true ? "N" : "Y"),
                txtRemark.Text.Trim()
                );

            objEmpMgr.InsertTrRequisition(grList, objTrReq, Session["USERID"].ToString().Trim(), Common.SetDateTime(DateTime.Now.ToString()), hfIsUpdate.Value, IsDelete);

            lblMsg.Text = Common.GetMessage(hfIsUpdate.Value.ToString(), IsDelete);
            Common.EmptyTextBoxValues(this);
            this.EntryMode(false);
            this.OpenRecord();
            this.CreateTable();
        }
        catch (Exception ex)
        {
            lblMsg.Text = "Error : " + ex;
            throw (ex);
        }
    }