Updates the tables in a database with the changes made to the DataSet.
      Visual Basic syntax
         
         
            Protected Overrides Function 
            Update
            (ByVal dataRows As DataRow(), ByVal tableMapping As DataTableMapping)
             As Integer
         
      
      C# syntax
         
         
            protected override int 
            Update
            (DataRow[] dataRows, DataTableMapping tableMapping)
         
      
      Parameters
         
         
            - 
               dataRows – 
               An array of System.Data.DataRow to update from.
            
- 
               tableMapping – 
               The System.Data.IDataAdapter.TableMappings collection to use.
            
Returns
         The number of rows successfully updated from the System.Data.DataRow array.
      Usage
         
         The Update is carried out using the InsertCommand, UpdateCommand, and DeleteCommand on each row in the data set that has been inserted, updated, or deleted.
         For more information, see Inserting, updating, and deleting rows using the SADataAdapter object.