LINQ to Dataset - equivalent of sql (where ... in...) -


i have list of customer id's, custlist(of string).

i want use linq query dataset, customers in customer table, customerid "in" custlist(of string).

is possible in linq? have searched online , not found answer. i'm new linq..

thanks

var custlist = new hashset<string>() { "a", "b", "c"...};  record in table.toenumerable() custlist.contains(record.field<string>("customerid")) 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -