Aniket Narvankar

Aniket Narvankar

  • 562
  • 2.1k
  • 605.1k

Like Query in Linq

Dec 29 2020 9:45 AM
I am getting comma separated values 
For example
string name = 'a,b,c'
 
I have a table tblPersons which contains Name column
I have to write a query in linq,to find list of persons whose name will contain these three letter a or b or c. 
Kindly Help me on this.
a,b,c is the text entered in textbox by user,user can enter anything he can enter ab,c in this I will have to find list of persons whose name will contain ab or c 
Kindly guide me on this