How can i iterate through each element in a column?

DT.Rows(1).Item(0).ToString can i change the value of “1” to a int variable and increment it in a loop to get next element?


For that an integer for loop will be made and that variable will be added in place of 1

Assign the integer to

Enumerable.Range(0,Value you want to loop).ToArray

This would help you out!!!

Cheers and do mark it as solution if this helped you out :slight_smile:

1 Like

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