# Data Sources

> Data sources for mail merge in WPF: objects, DataSets, JSON and XML, the MailMerge method for each and the DataSourceManager of the WPF Reporting tab.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > Mail Merge and Reporting > Data Sources
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/llms-full.txt

---

## On This Page

- [How Data Reaches a Template](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/#how-data-reaches-a-template)
- [Data Sources in the Reporting Tab](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/#data-sources-in-the-reporting-tab)
- [Choose a Data Source](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/#choose-a-data-source)
- [Pages in This Section](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/#pages-in-this-section)

---

## In This Section

- [Data Source Configuration Files](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/configuration-files/llms.txt): Why Report Data Source Configuration files (.rdsc) work in Windows Forms only, and how WPF apps replace them with DataSets, relations and their own queries.
- [DataSets and DataTables](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/datasets/llms.txt): Merge DataTables and related tables of a DataSet in a WPF window, load them into the Reporting tab and edit relations with the WPF EditDataRelationsDialog.
- [JSON and XML](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/json-xml/llms.txt): Merge JSON strings and XML files in a WPF application: MergeJsonData, ParserException, relations from DataSet.ReadXml, parsing cultures and LoadJson.
- [Objects and Collections](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/objects/llms.txt): Merge WPF view models and business objects with MergeObjects and MergeObject, rename fields with DisplayName and load the classes into the Reporting tab.

---

## Nearby

- **Previous:** [Overview](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/overview/llms.txt)
- **Next:** [Objects and Collections](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/mail-merge/data-sources/objects/llms.txt)
