Use DataSourceSeparator to set the character that separates a data source name from a column name in a data marker. '.' is the default data source separator.

public char DataSourceSeparator{ get; set; }
Public Property DataSourceSeparator() As Char

The DataSourceSeparator property must be set before Open is called because the merge field collection is parsed when the document is opened.

The following characters cannot be used as data source separators:


The space character cannot be used as a data source separator.

          WordTemplate oWW = new WordTemplate();
          oWW.DataSourceSeparator = "-";
          Dim oWW As New WordTemplate()
          oWW.DataSourceSeparator = "-"