Hello, i need to update specific row in my DT.
Structure of DT:
{id, name, lastname, phone}
i know id and want to get this row (by id} and change phone.
What is the best way to do this?
Thank you in advance.
1 Like
You can use this
dt.Rows(rowIndex)(colIndex)="yourValue"
This means if you write this
dt.Rows(0)(0)="TestData"
This code will update the first row and first columns of data table to TestData
Thanks,
Prankur
5 Likes
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.