How to row index of a data table without for each loop

How do I get index of a row in data table when that rows column value is matched without using for each loop?

Thank you :blush:

inside a for each loop - if your value matches -

you can use:

DTVariable.Rows.IndexOf(row)

This will give you an integer variable

Think post was edited after my response by @KarthikByggari solution will work nicely :slight_smile:

2 Likes

hi @TimK
try that

Regards!

1 Like

Hi @fernando_zuluaga

U can try with datarow array

Thanks
Ashwin S

2 Likes

Please use the following activity to get the row index -

Regards,
Karthik Byggari

7 Likes

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