Updating a row in a dataset but don't know the index of the row

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I update a column in a row if I don't know the index of the row to
update? I have retrieved and filled a dataset using a Data Adapter and store
this in an object. Later, I want to modify a row in the dataset but I only
know the primary key of the row. How do I update one of the columns on this
row if all the methods seem to want an index of the row to modify. I have
looked at the Rows method and the Item method but both require the index.
Also, I can call the Find method to return the row by PK but isn't this a
copy of the row and not the row itself?
 
Back
Top