TX Text Control .NET Server

LoadDataSet Method

Method|Introduced in 21.0
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.

Syntax

public void LoadDataSet(System.Data.DataSet dataSet);

Parameters

ParameterDescription
dataSet

Specifies a System.Data.DataSet object from which table and field names and existing data relations are loaded.

Examples

LoadDataSet is not exposed by the current ASP.NET Core editor helper. The following example uses LoadDataSet in the current server-side setup instead.

var result = textControl.LoadDataSet(new System.Data.DataSet());
Console.WriteLine(result);