I am new with Visual C# and encountered this problem :
I have to tables, let's say table1 and table2. In table1 exist column "sentense", and there is "word" column in table2. I have to check is this word occurs in sentence or not.
I know that writing in sql this will be staightforward : "SELECT * FROM table1 WHERE table1.sentence LIKE %table2.word%"
I know it should be quite easy, but I am really struggling to write the code for it
Thank you

New Topic/Question
Reply




MultiQuote



|