I have to find particular string from data table if exist or not in if condition

I have to find particular string from data table if exist or not in if condition

Example
Word: Implementation

Thanks
Shaik

Take if activity inside it
write
your Datatable contains “Implemtation”

then you can write your flow as you need for next process

Hope this helps
Usha

Hi,

Can you try the following?

dt.AsEnumerable.Any(Function(r) r.ItemArray.Any(Function(o) o.ToString.Contains(keyword)))

Regards,

@shaik.muktharvalli1

you can use

dt.asenumerable.any(function(x) x.itemarray.any(function(r) r.tostring.equals(“yourinput”)))

dt.AsEnumerable().Any(Function(row) row.ItemArray.Any(Function(cell) cell.ToString().Contains(searchKeyword)))

Thank you @Yoichi … it’s working fine

1 Like

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