Sets the specified repeat block's data source to an ADO.NET DataTable. |
public void SetRepeatBlock(System.Data.DataTable dt, System.String bookmark) |
Public Sub SetRepeatBlock(ByVal dt As System.Data.DataTable, ByVal bookmark As String) |
The DataTable to use as the data source. |
The bookmark name of the template repeat block. The bookmark passed to
|
|
|
A repeat block is a fragment in the template document that will be repeated for each row in a data source. In the template document, repeat blocks are defined by Word bookmarks that contain merge fields. You can call SetRepeatBlock several times for a single instance of WordTemplate. The repeat block specified by the parameter If you pass an empty DataTable to |
|