lambda - Using a lamba in vb.net to get DataTables difference -
using vb.net , lambda, trying retrieve records in first datatable (table01) not in second datatable (table02). cannot work:
dim newlist = table01.asenumerable().where(function(x) not table02.asenumerable().any(function(x1) x1.field("customernumber") = x.field("customernumber") andalso x1.field("customerid") = x.field("customerid") andalso x1.field("detailid") = x.field("detailid")))
the error :
"overload resolution failed because no accessible 'where' can called these arguments"
not sure missing not clause. thanks.
Comments
Post a Comment