ListObject.RefreshDataRows Method

Updates all of the rows in the ListObject with data from the data source.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Sub RefreshDataRows
void RefreshDataRows()

Remarks

This method does not send changes that were made to the data in the ListObject back to the data source; it only gets information.

Use this method if the data object does not raise a notification event when the data changes, for example, if you create a class to hold data but do not include an event to notify listeners of changes. If the data object does not raise an event, the ListObject is not updated automatically.

.NET Framework Security

See Also

Reference

ListObject Interface

Microsoft.Office.Tools.Excel Namespace