LoadDataSetAsync Method
- Namespace
TXTextControl.Web
- Package
- None: the TX Text Control .NET Server setup installs it, for .NET Framework.
- Assembly
TXTextControl.Web. dll
Description
Loads a database which is used to create table and field name menu items in the mailings ribbon tab from an existing DataSet object. This method returns immediately and does not wait for the DataSet to be loaded completely.
Syntax
public async System.Threading.Tasks.Task LoadDataSetAsync(System.Data.DataSet dataSet);Public Async Function LoadDataSetAsync(dataSet As System.Data.DataSet) As System.Threading.Tasks.TaskParameters
| Parameter | Description |
|---|---|
| dataSet | Specifies a System.Data.DataSet object from which table and field names and existing data relations are loaded. |
Examples
The following example uses TextControl.LoadDataSet in a document-processing workflow.
var result = textControl.LoadDataSet(new System.Data.DataSet());
Console.WriteLine(result);Dim result = textControl.LoadDataSet(New System.Data.DataSet())
Console.WriteLine(result)