This article explains how to use template marker with collection object using XlsIO in C#/VB.NET.
How to use template marker with collections?
A is a special marker symbol created in an Excel template that appends multiple records from a data source into a worksheet. This marker automatically maps the column name in the data source and names of the marker fields in the template Excel document and fills the data.
When an object contains another object collection as a member, then it can be imported by the template marker by detecting the enumerable content in every phase of the collection.
To import data from a collection in a object, you will need to follow the below steps.
Steps to use horizontal argument
The below screenshot shows how the markers are applied in workbook template.
The following C#/VB.NET complete code snippet shows how to use template marker with collection object.
The below screenshot shows the output document generated using template markers.
This page will automatically be redirected to the sign-in page in 10 seconds.