How to check for specific condition in data table

we can use LINQ ALL / Any Operator

Assign Activity

chkResult | Boolean =
dt_FirmName.AsEnumerable().Any(Function (x) Not x(0).toString.Trim.toUpper.Equals(“MCG…”))

Here we just looked for any value which is not MCG value. So we can tell, that not all values are MCG…

Then we can use an If Activity and evaluate chkResult

Kindly note:
grafik
toUpper has to check MSGILB…