TX Text Control .NET for Windows Forms

DataTables Property

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

Description

Gets a DataTableInfoCollection of DataTableInfo objects which represent the data tables in the data source.

Syntax

public DataTableInfoCollection DataTables { get; }

Examples

The following example iterates through the data tables collection and processes each data table info.

foreach (TXTextControl.DocumentServer.DataSources.DataTableInfo dataTableInfo in dataSourceManager.DataTables)
{
    Console.WriteLine(dataTableInfo.TableName);
}

Limitations

Read only.