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
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
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
Please use the following activity to get the row index -
Regards,
Karthik Byggari
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.