.net - LINQ To Datatable using "Any" with a List -
OK, I can not find it, I use a list of strings in my data to loop through a data sheet. I am trying, but I am not able to work on it.
This is what I am trying to do:
if d = "these" then lInOutStrings.Add ("Part in") or other lInOutStrings.Add ("Inventory" ) The new option with lInOutStrings.Add ("Repair") is included in the end (if part of the "API") ("INVT_TYPE") in dtParts for each part (LInOutStrings.ToString). ...}) Next ... The problem is that the query does not always give anything, what I found is that, but I am not able to complete the question. What is it that I am doing wrong?
I am using VB.Net 2010 and .NET 4.0
This is on the other side, look in the list, not in the string (which is IEnumerable ): in slow query = dtParts.AsEnumerable () where lInOutStrings.Contains ( U.Field (with string) ("INVT_TYPE")) Select new {....}
Comments
Post a Comment