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

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top