ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumnCollection.Insert Method

Inserts a C1DataColumn at the specified index.

[Visual Basic]

Overridable Public Sub Insert( _

ByVal index As Integer, _

ByVal dc As C1DataColumn _

)

[C#]

virtual public void Insert(

int index,

C1DataColumn dc

);

[Delphi]

public procedure Insert(

index: Int32;

dc: C1DataColumn

); virtual;

Parameters

index

The zero-based index at which the C1DataColumn should be inserted.

dc

The C1DataColumn to insert.

Example

For an example using the Insert method, see Changing the Column Order in the Grid.

See Also

C1DataColumnCollection Class | C1DataColumnCollection Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.