LoadDataSet Method
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. 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.
Syntax
public TextControl LoadDataSet(DataSet dataSet);Public Function LoadDataSet(dataSet As DataSet) As TextControlParameters
| Parameter | Description |
|---|---|
| dataSet | Specifies a System.Data.DataSet object from which table and field names and existing data relations are loaded. |
Return Value
A reference to the Web.MVC.TextControl instance to allow method chaining.
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)