Advanced.Data.Provider Documentation

AdpDataAdapter.Fill Method (DataSet, String)

[This is preliminary documentation and subject to change.]

Adds or refreshes rows in the DataSet to match those in the data source using the DataSet and DataTable names.

[Visual Basic]
Overloads Public Function Fill( _
   ByVal dataSet As DataSet, _
   ByVal tableName As String _
) As Integer
[C#]
public int Fill(
   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 added to or refreshed in the DataSet. This does not include rows affected by statements that do not return rows.

See Also

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