Hello and thanks for your help :)

I have uploaded an xml into a dataset so now it contains a single table
filled with the xml values. I need to update one of the fields in all the
rows with a constant value.

What is the fastest way of doing it

Btw: I don not have a database to which I can save the table and then
execute an update command.

Any ideas?

RE: What is the fastest way to update all rows of a table in a dataset by KerryMoorman

KerryMoorman
Wed Feb 06 11:43:06 CST 2008

Stren,

Haven't you already received answers to this question?

You must update the appropriate field for each row in the datatable, using a
loop. You cannot execute an sql statement to update the entire datatable.

Kerry Moorman


"Stren Assaf" wrote:

> Hello and thanks for your help :)
>
> I have uploaded an xml into a dataset so now it contains a single table
> filled with the xml values. I need to update one of the fields in all the
> rows with a constant value.
>
> What is the fastest way of doing it
>
> Btw: I don not have a database to which I can save the table and then
> execute an update command.
>
> Any ideas?
>