How to add a variable at the place of a word to be searched in LInq

Here I need to know how should i add a variable at the place of “word” in the below query as i have initialized the variable and also need the data from config file
I have attached the query
“@SQL=”“urn:schemas:httpmail:subject”" like ‘%business analyst%’"
I need to specify the variable at the place of “business analyst”

Hi @Kunal_Jain ,
Try using the below :

"@SQL=""urn:schemas:httpmail:subject"" like '%"+stringVar+"%'"

Thanks It Worked

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.