LINQ in Action roller

string.contains(string()) problem

Hello, I would like to create a (simple) linq query where i can check if a value contains certain words. These words are given in a string (_description) Dim keywords = _description.Split( " " ) Dim ap = From a In Agendapunts _ Where a.description.Contains(keywords) Select a = Group This doesn't work because the .Contains function does not accept a string array.. How do you do this with linq ? Thank you. Read More...
Published Monday, October 06, 2008 5:58 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication