private void SageSearchBySearchWord() { try { if (Request.QueryString["searchword"] != null && Request.QueryString["searchword"].ToString() != string.Empty) { string searchword = Request.QueryString["searchword"].ToString(); if (!HTMLHelper.IsValidSearchWord(searchword)) { lblSearchKeyword.Text = ""; gdvList.DataSource = null; gdvList.DataBind(); } else { lblSearchKeyword.Text = searchword; SageFrameSearch stb = new SageFrameSearch(); searchword = stb.AddQuotesForSQLSearch(searchword); GetSearchResultFromDataBase(searchword); } } } catch { } }