TX Text Control .NET for Windows Forms

LoadDataSet Method

Method|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public void LoadDataSet(DataSet dataSet);

Parameters

ParameterDescription
dataSet

The System.Data.DataSet object to use as a data source.

Examples

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

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