Select item in a Datatable in loop

So i have a for each row going through a datatable and inside i want to use the same datatable to paste an item into google i want the same row the loop is on and in the 2nd column so i have this rn : oDataTable.Columns(1).ToString
how do i do it so that it includes the row i want

welcome to the forum
in a for each row loop where row is the loop var name

row(“YourColumnName”).toString
or
row(0).toString / taking the first Column by ColumnIndex

let you acces the value of the row that is currently in the iteration

1 Like

Thank you