When I want to update a row in a table I write the code it as in the code box below.
In this example I get the error message that the column customernr can not be edited. It has worked before, until there was added a column to the table. Both the dataadapter and the dataset was re-created after that.
I use the same way of handling updating a row in another datatable, and that datatable/datasets/dataada
pter has also gone through the same ordeal. But the code gives no errors when it is run agains that table with that dataadapter and dataset.
Dim customerRow As dsCustomerSeek.CUSTOMERRow
customerRow = frmSeek.DsCustomerSeek1.CUSTOMER.FindBycustomernr(txtCustomerNr.Text)
.firstname = txtFirstname.Text
.lastname = txtLastname.Text
.customernr = CInt(txtCustomerNr.Text)