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).
 
Back
Top