Hi, sorry, I should've made it clear that I do the update right before my application ends.
Code:If DS.HasChanges Then Dim cb As OracleCommandBuilder = New OracleCommandBuilder(da) WriteToLog("Writing changes to database", LogTypes.Log) Try da.Update(ds) Catch ex As OracleException WriteToLog("WriteChangesToDb: Error writing changes to database. Error msg = " + ex.Message, LogTypes.Err) Finally ds.Dispose() cb.Dispose() da.Dispose() End Try End If




Reply With Quote