I need to set a variable inside a for each loop for each value in a certain column in a datatable
I need to set a variable inside a for each loop for each value in a certain column in a datatable and be able to call it. How would I do this? I need it to cycle through each value and set the variable to each value every time it runs through, then proceeds to the next value and sets it to the next one, and so on. I need it only for a certain column, the fourth column, or index[3]. It's name is "latitude".
I need to set a variable inside a for each loop for each value in a certain column in a datatable
===

I need to set a variable inside a for each loop for each value in a certain column in a datatable and be able to call it. How would I do this? I need it to cycle through each value and set the variable to each value every time it runs through, then proceeds to the next value and sets it to the next one, and so on. I need it only for a certain column, the fourth column, or index[3]. It's name is "latitude".