# Data Sources

> Choose a mail merge data source in Windows Forms: business objects, DataSets, JSON, XML or configuration files, merged with MailMerge and shown in the ribbon.

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

---

## On This Page

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

---

## In This Section

- [Data Source Configuration Files](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/data-sources/configuration-files/llms.txt): Save a database connection, master table and relations as an .rdsc file in the Reporting tab and merge it with ReportDataSourceConfigFile and Merge().
- [DataSets and DataTables](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/data-sources/datasets/llms.txt): Merge a DataTable or a DataSet with relations in Windows Forms, load it into the Reporting tab and connect a database with the DatabaseConnectionDialog.
- [JSON and XML](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/data-sources/json-xml/llms.txt): Merge JSON with MergeJsonData and XML through DataSet.ReadXml in Windows Forms, catch ParserException and set DataSourceCulture for numbers and dates.
- [Objects and Collections](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/data-sources/objects/llms.txt): Merge business objects, dictionaries and anonymous objects in Windows Forms with MergeObjects, DisplayName and Description attributes and ToString output.

---

## Nearby

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