IDataGridView.Columns

Syntax

Columns: IGridViewColumns;

Description

The Columns property returns the collection of table columns.

Comments

The list of columns us created automatically after connecting the data source. When the data source changes, the list of columns and their settings is reset and recreated according to the structure of the new data source.

Example

The property use is given in the example for IDataGridView.BeginUpdate.

See also:

IDataGridView