Hi there,
The program in hand must retrieve a bunch of data from an SQL Database (currently stored in a DataTable), fiddle around with the data, and then upload the changed data to the same SQL database.
Everything works fine at the mo apart from the final bit, uploading to the database. This is my current effort at uploading the data:
foreach (DataRow row in statementResult.Rows)
{
SQLDataAdapter.Update(row);
{
The DataTable (statementResult) is created as follows:
DataTable statementResult = new DataTable();
SQLDataAdapter.Fill(statementResult);
So basically I am looking for a few tips to update the database with the new DataTable.
Any help is appreciated,
Cheers.