TX Text Control .NET Server

DataTables Property

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

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.