View Single Post
Old 08-11-2015, 05:58 PM
PlausiblyDamp's Avatar
PlausiblyDamp PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058

Been a while since I have done anything with DataSets but IIRC the lines
da.Update(ds, "Trackerds")
Need to be swapped i.e. change them to
da.Update(ds, "Trackerds")
Calling .AcceptChanges on a DataSet marks all modified rows as being Unchanged, this means when you call .Update on the DataAdapter it doesn't see any changes to propagate to the database.
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote