共用方式為


ListObject.RefreshDataRows Method

Definition

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

public:
 void RefreshDataRows();
public void RefreshDataRows ();
abstract member RefreshDataRows : unit -> unit
Public Sub 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.

Applies to