[]
Get the column index.
int GetColumnIndex(string columnName)
Function GetColumnIndex(columnName As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | columnName | The column name. |
| Type | Description |
|---|---|
| int | The column index. |
ITableDataSource dataSource = new ExampleTableDataSource();
int columnIndex = dataSource.GetColumnIndex("Customer");