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

c# - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService -

sql server - python to mssql encoding problem -

java - SNMP4J General Variable Binding Error -