Visual Basic: DataGrid Control

Visual Studio 6.0

Columns Collection

See Also   Example   Properties   Methods   Events

The Columns collection contains all stored Column objects of a DataGrid control.


Syntax

Columns(index)

Columns.Item(index)

Remarks

You can use the properties and methods of the Columns collection to add and remove Column objects, count the number of columns in the Columns collection, and address individual columns of the Columns collection.

The Columns collection can be accessed through the Columns property of the DataGrid control.

Show: