Hello,
I have a data table that has some client ids, names, and countries, I have another array that has the client ids I require for the process ( example: id={1011,1015}). Is there any chance where we can directly get the rows where ClientID is the same as array element?
(From d1 In dt1.AsEnumerable()
From d2 In ArrayOfStrings.AsEnumerable()
Where d1(0).toString.Equals(d2(0).toString.Trim)
Let var = New Object(){d1(0), d2(0)}
Select r = dtResult.Rows.Add(var)).CopyToDataTable