I am trying to create filter two columns column 1 and column 2 using Linq. but my column 2 is not getting filterd.Attached below the sample file for reference. can anyone help on it
Book1.xlsx (63.4 KB)
OutDT.AsEnumerable().Where(Function(row) (row.Field(Of String)(“Part Type”).Contains(“System Pipe Fittings”) Or row.Field(Of String)(“Part Type”).Contains(“Pipe Fittings”) Or row.Field(Of String)(“Part Type”).Contains(“Pipe Accessories”)) AND row.Field(Of String)(“Revit System Status”).Contains(“Completed”)).CopyToDataTable()
Main.xaml (8.5 KB)