protected void btnSearch_Click(object sender, EventArgs e)
        {
            try
            {
                DataTable dt = new DataTable();

                _objmodel.Search_Type  = ddlSearchType.SelectedValue;
                _objmodel.Search_Value = txtSearch.Text;
                dt = _Objwfm.SearchMappingMasterUser(_objmodel);
                if (dt.Rows.Count > 0)
                {
                    btnexport.Visible       = true;
                    ViewState["SearchData"] = dt;
                    BindGrid(dt);
                    ClearAllfields();
                }
                else
                {
                    btnexport.Visible = false;
                    Utility.MessageBox("No Record found", "Mapping_MasterReport.aspx");
                }
            }
            catch (Exception ex)
            {
                Utility.CreateErrorLog(ex.Message.ToString(), "Mapping_MasterReport.aspx", "btnSearch_Click", "", "", HttpContext.Current.Session["NTID"].ToString() + " / " + HttpContext.Current.Session["DomainName"].ToString() + " / " + HttpContext.Current.Session["LawsonID"], ex);
            }
            finally

            { }
        }