Export (0) Print
Expand All

Visual Basic: DataGrid Control

Visual Studio 6.0

ClearFields Method

See Also   Example   Applies To

Restores the default grid layout.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.


The ClearFields method restores the default grid layout (with two blank columns) so that subsequent ReBind operations will automatically derive new column bindings from the (possibly changed) data source. You can cancel the grid's automatic layout behavior by invoking the HoldFields method.

© 2014 Microsoft