 <p>If you're testing for a property to be in an array, you can use the <code>Contains</code> extension method on <code>IEnumerable</code>, which is probably preferable to building a string. Try this:</p> <pre><code>Dim query = From element In dtImitate.Where(function (el) teamsArray.Contains(el.Team)) </code></pre>