TX Text Control .NET for Windows Forms

ColumnNames Property

Property|Introduced in 23.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Returns the table's column names as a string array.

Syntax

string[] ColumnNames { get; }

Examples

The following example iterates through the column names collection and processes each string.

foreach (string text in iDataTableAdapter.ColumnNames)
{
    Console.WriteLine(text.Length);
}

Limitations

Read only.