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
Post a Comment