LoadDataTable Method
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Loads a System.Data.DataTable object as a data source.
Syntax
public void LoadDataTable(DataTable dataTable);Public Sub LoadDataTable(dataTable As DataTable)Parameters
| Parameter | Description |
|---|---|
| dataTable | The |
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.");dataSourceManager.LoadDataTable(New System.Data.DataTable())
Console.WriteLine("Data Source Manager is ready for use.")