Updates the tables in a database with the changes made to the DataSet.
int Update( DataSet dataSet )
int Update( DataSet dataSet, string srcTable )
int Update( DataTable dataTable )
int Update( DataRow[ ] dataRows )
dataSet: A DataSet to update with records and, optionally, schema.
srcTable: The name of the source table to use for table mapping.
dataTable: A DataTable to update with records and, optionally, schema.
dataRows: An array of DataRow objects used to update the data source.
The number of rows successfully updated from the DataSet.
The Update is carried out using the InsertCommand, UpdateCommand, and DeleteCommand properties on each row in the data set that has been inserted, updated, or deleted.
“DeleteCommand property”, “InsertCommand property”, “UpdateCommand property”, “Inserting, updating, and deleting rows using the AseDataAdapter object”, and .NET Framework documentation.