2
Answers

how to use like keyword in linq query

Saber Shaikh

Saber Shaikh

10y
748
1

how to use like keyword in linq query

query = query.Where

(s => s.tbl.Contains(tbl));

Contains() is translated LIKE '%term%' StartsWith() = LIKE 'term%' EndsWith() = LIKE '%term'



Thank You


Bolg : http://aspnettutorialscode.blogspot.in/




Answers (2)