Filter Datatable with condition

Hi ,

How to use filter data table activity to filter data with condition - in column1 should contain letter x, in column 2 should filter row with single digit.

Thanks in Advance

Hi,

How about the following?

image

Regards,

Hey

give a try with

dtDuplicates.AsEnumerable.Where(Function(x) x("Name").ToString.Trim.ToUpper.Contains("X") And x("Value").ToString.Length = 1).CopyToDataTable

Regards

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.