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

HI,

How about the following?

image

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

Regards,

Hi @Dummy try this
image

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.