Number of elements of a datarow

uipath

#1

How can I get the number of elements on a single datarow?
I’m trying to read all elements from a datarow that is passed as an argument. The number of elements isn’t static, so i’d like to know inside my method how many elements are there.
Is not getting the number of elements can I apply a for each to a dataRow? I’ve tried diferent ways but can’t do it.

Regards,
Renato Quintal


#2

Hi,

Does this work?
row.ItemArray.Count


#3

Yeah man it does! Thank you!