Linq Using Contains On An Array -


im trying query datatable using linq, ideally compare column of strings array of strings, returning match.

any ideas?

cheers in advance

cm

you need use 1 of field<t> methods of datarowextensions.

var foo = r in dt.asenumerable()           bar.contains(r.field<string>("barcolumn"))           select r; 

Comments

Popular posts from this blog

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -