Advanced.Data.Provider Documentation

AdpDataAdapter.Update Method (DataSet, String)

[This is preliminary documentation and subject to change.]

Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet.

[Visual Basic]
Overloads Public Function Update( _
   ByVal dataSet As DataSet, _
   ByVal tableName As String _
) As Integer
[C#]
public int Update(
   DataSet dataSet,
   string tableName
);

Parameters

dataSet
A DataSet to fill with records and, if necessary, schema.
tableName
The name of the source table to use for table mapping.

Return Value

The number of rows successfully updated from the DataSet.

See Also

AdpDataAdapter Class | Advanced.Data.Provider Namespace | AdpDataAdapter.Update Overload List