How to check any specific value in a datarow

Hii, Please help ASAP

I have foreach of datarow.
I wanted to check if “xyz” is present in that datarow or not.
I am not getting contains method for datarow
please help to acheive this

Thank you


How about the following?


CurrentRow.ItemArray.Any(Function(v) v.ToString.Contains("xyz"))


Hi @Dummy try this

Thank You so much Buddy.Today, Learned something new

1 Like

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