protected void btnADD_Click(object sender, EventArgs e)
        {
            try
            {
                int count = 0;
                _objmodel.CallMiner_UserID = txtCallminerID.Text;
                _objmodel.Password         = txtDefaultPass.Text;
                _objmodel.Domain           = txtDomain.Text;
                _objmodel.EmployeeID       = txtEmployeeID.Text;
                _objmodel.EmployeeName     = txtEmpName.Text;
                _objmodel.NTID             = txtNTID.Text;

                _objmodel.LOB         = txtLOB.Text;
                _objmodel.Location    = txtLocation.Text;
                _objmodel.Position    = txtPostion.Text;
                _objmodel.Company     = txtCompany.Text;
                _objmodel.Tenant      = txtTenant.Text;
                _objmodel.Insert_Type = ddlType.SelectedValue;
                if (Hdeditval.Value == "0")
                {
                    count = _Objwfm.InsertMappingMasterUser(_objmodel);
                    if (count > 0)
                    {
                        Utility.MessageBox("Data Saved Successfully.");
                        //  BindGrid();
                        ClearAllfields();
                    }
                }
                else
                {
                    count = _Objwfm.Edit_MappingMasterUser(Convert.ToInt32(Hdeditval.Value), _objmodel);
                    if (count > 0)
                    {
                        Utility.MessageBox("Data Updated Successfully.");
                        DataTable dt = (DataTable)ViewState["SearchData"];
                        BindGrid(dt);
                        ClearAllfields();
                    }
                }
            }
            catch (Exception ex)
            {
                Utility.CreateErrorLog(ex.Message.ToString(), "Mapping_MasterReport.aspx", "btnADD_Click", "", "", HttpContext.Current.Session["NTID"].ToString() + " / " + HttpContext.Current.Session["DomainName"].ToString() + " / " + HttpContext.Current.Session["LawsonID"], ex);
            }
            finally
            { }
        }