AcceptChanges sets the rowstate property to UnChanged; because of this, the updated rows will not be posted to the database. (Their state is unchanged).
You'll have to call the Update member of the DataAdapter first, en after that you'll have to call AcceptChanges:
AD.Update (q1.GetChanges()); q1.AcceptChanges(); |