Intro
Use a variety of .NET data types to populate ExcelTemplate including string[]
, ArrayList
, and Hashtable
.
This example demonstrates how Excel Writer can use arrays, array lists and hash tables as data sources for an ExcelTemplate report.
_BindData-_For using 2-dimensional, grid-like data stored in an array. Arrays can be arranged in [row,col] (normal) or [col,row] (transposed) fashions.
_BindColumnData-_For use with a 1-dimensional array, collection, or dictionary. Data is filled in the column.
_BindRowData-_Like BindColumnData, except data is filled horizontally by the row.
Code
Downloads
Template and populated output