共用方式為


DeleteColumn Method

Removes a Column object from a Grid control.

Grid.DeleteColumn[(nIndex)]

Parameters

  • nIndex
    Specifies a number referencing the order of Columns in a Grid. If nIndex is not specified, the last Column in the Grid is removed.

See Also

AddColumn Method | AddObject Method | RemoveObject Method

Applies To: Grid