codefluent - How filter in a grid view like '% value %'? -


how can use method search generate query search(name) select * person name '% name %' , how set method filter gridview? see option startwith , endwith

cfql supports concatenation operation, can use following cfql method:

search(name) name '%' + @name + '%' 

if edit model directly in xml, have escape character %:

<cf:method name="searchsample" body="search(name) name '%%' + @name + '%%'" /> 

formal grammar of codefluent query language (cfql)


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

c - Defining floating point constants, how many digits are useful? -

C# Apple Bonjour - how to monitor service records within Windows -