Perform bulk updates on organic dataset

  • Thread starter Thread starter SPG
  • Start date Start date
S

SPG

Hi,

We have some datasets that are not linked to any form of database, it is
just a means for us to pass info about.

We need to perform an update on this dataset, based on a filter. Just like
an SQL statement, IE: UPDATE tableX SET Name = 'xxx' WHERE ID =xx

The only whay I can think of doing this is to perform a row filter on a
view, then loop through modifying each row manually.

Is there a better way to do this?

Steve
 
Hi,

SPG said:
Hi,

We have some datasets that are not linked to any form of database, it is
just a means for us to pass info about.

We need to perform an update on this dataset, based on a filter. Just like
an SQL statement, IE: UPDATE tableX SET Name = 'xxx' WHERE ID =xx

The only whay I can think of doing this is to perform a row filter on a
view, then loop through modifying each row manually.

Is there a better way to do this?

Not really. You might use DataTable.Select also which does almost the same.
 

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