Hello,
I have the following case where I want to assign a value to a column
in a row. But it gives me an error that "Property Item is readonly":
DataAdapter.Fill(DataTable1)
Dim clone as DataTable
clone = DataTable1.Clone
For Each row As DataRow In
DataTable1.Select(String.Format("{0}='{1}'", field1, somevalue))
clone.ImportRow(row)
Next
clone.Rows.Item("field2") = "Test"
Here is the problem where it says "Property Item is readonly"
Your kind help will be really appreciated.
cheers
SY