Can you tell me what you are assigning?
Do you want to set the value to the Datatable back?
If so, then you have to write as
DT.Rows(index).Item("ColumnName").ToString = "Your Value"
Where Index is the variable created for For Each row Index in properties
For reference you can check as below
Hope this helps you
Thanks