Manipulate DataSets

  • Thread starter Thread starter Sorin Sandu
  • Start date Start date
S

Sorin Sandu

Wchich is the best way to modify data in a DataSet (or DataView, dataTable).
I want to find specific recorsds and modify one column based on valueu from
other columns.
 
Hi Sorin,

If you search row by primary key, you might use DataTable.Rows.Find method
or DataTable.Select which is more general.
Once you find the rows, the modifying should be straightforward.
You might also utilize DataView to filter and search rows - it works with
key that you specify (as opposed to DataTable.Rows.Find method).
 

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

Back
Top