GetTableColNames Method
Returns the column names.
Syntax
'Declaration
 
Protected MustOverride Function GetTableColNames() As System.String()
protected abstract System.string[] GetTableColNames()

Return Value

Each array element is a column name. The order of the array is the same as the order of the columns.
Example

protected override string[] GetTableColNames()
{
    DataGridView GridView = (DataGridView)(this.SourceControl);
    int TotalColumns = GridView.Columns.Count;
    string[] ColNames = new string[TotalColumns];
    for (int i = 0; i < TotalColumns; i++)
    {
        ColNames[i] = GridView.Columns[i].HeaderText;
    }
    return ColNames;
}