Fill(DataSet) Method

Syntax:

public int Fill(DataSet dataSet)

Description:

Adds or refreshes rows in the DataSet.

Parameters:

dataSet

Type: System.Data.DataSet

The DataSet to fill with records and, if necessary, schema.

Return Value:

Type: System.Int32

The number of rows successfully added to or refreshed in the DataSet.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbDataAdapter.Fill(DataSet)