Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created November 15, 2016 12:24
Show Gist options
  • Save bjoerntx/c54f905b9e8abb236fe54269c86670d0 to your computer and use it in GitHub Desktop.
Save bjoerntx/c54f905b9e8abb236fe54269c86670d0 to your computer and use it in GitHub Desktop.
// attach events to monitor available merge fields and merge blocks
dsManager.PossibleMergeFieldColumnsChanged +=
DsManager_PossibleMergeFieldColumnsChanged;
dsManager.PossibleMergeBlockTablesChanged +=
DsManager_PossibleMergeBlockTablesChanged;
// attach the available tables to the combobox
cbMasterTable.DataSource =
dsManager.DataTables.ToList<DataTableInfo>();
cbMasterTable.DisplayMember = "TableName";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment