TX Text Control .NET for WPF

IDataTableAdapter Interface

Interface|Introduced in 23.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.

Description

The IDataTableAdapter interface contains properties and methods implemented by data table instances used in the BlockMerging event.

Syntax

public interface IDataTableAdapter

Examples

The following example includes the table name value from an IData Table Adapter object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Table Name: {iDataTableAdapter.TableName}");
Console.WriteLine("IData Table Adapter is ready for use.");

Members

Properties

PropertyDescription
ChildTableNamesReturns the names of the child relations in this table as a string array.
ColumnNamesReturns the table's column names as a string array.
RowsReturns the table's data as an array of objects implementing the IDataRowAdapter interface.
TableNameReturns the name of the table.