Esempio n. 1
0
        private ArrayList GetSearchOptionsArray(JQGridColumnSearchOptionCollection options)
        {
            ArrayList     arrayList     = new ArrayList();
            BaseSearching baseSearching = new BaseSearching(this._grid);

            foreach (JQGridColumnSearchOption jQGridColumnSearchOption in options)
            {
                arrayList.Add(baseSearching.GetStringFromSearchOperation(jQGridColumnSearchOption.SearchOperation));
            }
            return(arrayList);
        }
Esempio n. 2
0
 private string GetWhereClause(string search, bool isLinq)
 {
     string result = string.Empty;
     if (!string.IsNullOrEmpty(search) || Convert.ToBoolean(search))
     {
         result = new BaseSearching(this).GetWhereClause(null, isLinq);
     }
     return result;
 }
Esempio n. 3
0
 private ArrayList GetSearchOptionsArray(JQGridColumnSearchOptionCollection options)
 {
     ArrayList arrayList = new ArrayList();
     BaseSearching baseSearching = new BaseSearching(this._grid);
     foreach (JQGridColumnSearchOption jQGridColumnSearchOption in options)
     {
         arrayList.Add(baseSearching.GetStringFromSearchOperation(jQGridColumnSearchOption.SearchOperation));
     }
     return arrayList;
 }