TXTextControl.DocumentServer.DataSources.DataSourceManager.LoadDataSourceConfig Method

Loads an XML string or a file containing "report data source configuration" data. Data Source Configuration Files can only be used in Windows Forms applications. When calling this method from a WPF Application, an exception is thrown. For more information about data source configuration files see method SaveDataSourceConfig.

LoadDataSourceConfig()

Shows the system's default open file dialog where a configuration file can be selected.

[C#]
public void LoadDataSourceConfig();
[Visual Basic]
Public Sub LoadDataSourceConfig()

LoadDataSourceConfig(Object)

Shows the system's default open file dialog where a configuration file can be selected.

[C#]
public void LoadDataSourceConfig(object owner);
[Visual Basic]
Public Sub LoadDataSourceConfig(owner As Object)
Parameter Description
owner

An object that represents the top-level window that will own the modal dialog box.

LoadDataSourceConfig(String)

Loads XML configuration data given as a string.

[C#]
public void LoadDataSourceConfig(string configData);
[Visual Basic]
Public Sub LoadDataSourceConfig(configData As String)
Parameter Description
configData

A string containing XML configuration data.

See Also