Updating the database

After users have made changes to data in a DataWindow control, you can use the UpdateData method to save the changes in the database. UpdateData sends to the database all inserts, changes, and deletions made in the DataWindow since the last UpdateData or Retrieve method was executed.