# MailMerge.ReportDataSourceConfigFile Property

> Gets or sets the file path of a Report Data Source Configuration file (*.rdsc) which has been created with TX Text Control Words.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 20.0
- **Namespace:** `TXTextControl.DocumentServer`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer > MailMerge.ReportDataSourceConfigFile Property
- **449 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/reportdatasourceconfigfile-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/reportdatasourceconfigfile-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/reportdatasourceconfigfile-property/llms-full.txt

---

### Description

Gets or sets the file path of a Report Data Source Configuration file (\*.rdsc) which has been created with TX Text Control Words.

### Syntax

```csharp
public string ReportDataSourceConfigFile { get; set; }
```

```vbnet
Public Property ReportDataSourceConfigFile As String
```

### Examples

The following example uses `MailMerge.ReportDataSourceConfigFile` to configure report data source config file as part of the mail merge workflow. The configured value is checked before the workflow continues.

```csharp
mailMerge.ReportDataSourceConfigFile = "document.docx";
if (!string.IsNullOrWhiteSpace(mailMerge.ReportDataSourceConfigFile))
{
    Console.WriteLine($"Report Data Source Config File: {mailMerge.ReportDataSourceConfigFile}");
}
```

```vbnet
mailMerge.ReportDataSourceConfigFile = "document.docx"
If Not String.IsNullOrWhiteSpace(mailMerge.ReportDataSourceConfigFile) Then
    Console.WriteLine($"Report Data Source Config File: {mailMerge.ReportDataSourceConfigFile}")
End If
```

---

## Nearby

- **Previous:** [MailMerge.ReportDataSourceConfig Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/reportdatasourceconfig-property/llms-full.txt)
- **Next:** [MailMerge.SaveDocument Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/savedocument-method/llms-full.txt)
