Fill(int, int, DataTable[]) Method

Syntax:

public int Fill(int startRecord, int maxRecords, DataTable dataTables)

Description:

Adds or refreshes rows in the DataTables using the specified starting location and maximum number of records.

Parameters:

startRecord

Type: System.Int32

The zero-based record number to start with.

maxRecords

Type: System.Int32

The maximum number of records to retrieve.

dataTables

Type: System.Data.DataTable[]

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

Return Value:

Type: System.Int32

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

Reference:

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