so in SQL you can do something like:
WHERE title IN('title1','title2','title3')
to check for a set (assuming I'm using the correct phrase here). How can I do this in VB.NET/C#.NET?
Example:
IF textMyTitle.text IN ("title1","title2","title 3") THEN
'Take Action
End If
Obviously, the IN part of this statement does not work ... What is the logical equivalent in .NET?
source
share