ReportDataSourceConfig Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Specifies the Report Data Source Configuration as an XML string. Must be in the same form as the content of a Report Data Source Configuration file created by TX Text Control Words.
Syntax
public string ReportDataSourceConfig { get; set; }Public Property ReportDataSourceConfig As StringExamples
The following example uses MailMerge.ReportDataSourceConfig to configure report data source config as part of the mail merge workflow. The configured value is checked before the workflow continues.
mailMerge.ReportDataSourceConfig = "Quarterly report";
if (!string.IsNullOrWhiteSpace(mailMerge.ReportDataSourceConfig))
{
Console.WriteLine($"Report Data Source Config: {mailMerge.ReportDataSourceConfig}");
}mailMerge.ReportDataSourceConfig = "Quarterly report"
If Not String.IsNullOrWhiteSpace(mailMerge.ReportDataSourceConfig) Then
Console.WriteLine($"Report Data Source Config: {mailMerge.ReportDataSourceConfig}")
End IfSee Also
ReportDataSourceConfigFile property.