Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Open the template file with ExcelTemplate.Open.
The ExcelTemplate object corresponds to a single template file, so a given ExcelTemplate instance can only have one template file open.

...

The DataBindingProperties object can be used to change the behavior of how data is imported. For example, if we were importing multiple rows of data, we can use the DataBindingProperties.MaxRows property to limit the number of rows that are imported. In this sample, we won't be changing any of the import properties, but we still need the DataBindingProperties object to bind data.

5. Get the data and call [ExcelTemplate.BindCellData()|ExcelTemplate.BindCellData(Object, String, DataBindingProperties)
] to bind the data to the data marker

...