BCGControlBar Library for .NET
CalcColumnName Method




Zero based index.
Calculates a column name from the given index.
Syntax
'Declaration
 
Public Function CalcColumnName( _
   ByVal index As Integer _
) As String
'Usage
 
Dim instance As GridControl
Dim index As Integer
Dim value As String
 
value = instance.CalcColumnName(index)
public string CalcColumnName( 
   int index
)
public: string* CalcColumnName( 
   int index
) 
public:
String^ CalcColumnName( 
   int index
) 

Parameters

index
Zero based index.

Return Value

Calculated column name.
Remarks
This function is used to automatically name columns in Excel-like mode. This function creates names like A, B, C ... Z, AA, AB, ... according to the given index.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridControl Class
GridControl Members

Send Feedback