C#.NET Insert/Update values in DataTable Row
Posted on 2007-10-15
This might have been answered before, but I have been unable to find an answer I can use, so here goes....
I have a DataTable filled with data from an Excel file. Using a for-loop I run through each row in this DataTable and extract 3 values, which I then run through an SQL statement which returns 3 new values. I now need to update the row I got the original 3 values from in the DataTable with the 3 new values.
How do I insert the 3 new values in the correct places in the row?
How do I insert then in the SAME row as I got the 3 original values from?
Thanks in advance