TX Text Control .NET Server

LoadDataTable Method

Method|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

Loads a System.Data.DataTable object as a data source.

Syntax

public void LoadDataTable(DataTable dataTable);

Parameters

ParameterDescription
dataTable

The DataTable object to use as a data source.

Examples

The following example uses Load Data Table in a focused Data Source Manager workflow. The created object is then available to the surrounding document workflow.

dataSourceManager.LoadDataTable(new System.Data.DataTable());
Console.WriteLine("Data Source Manager is ready for use.");