...
1. Include the SoftArtisans.OfficeWriter.WordWriter namespace in the code behind.
Code Block |
---|
using SoftArtisans.OfficeWriter.WordWriter; |
...
- Add a reference to
GenericParsing.dll.
- Include
GeneringParsing
at the top of your code. - Add the
GetCSVData
method that can be found in the sample code.
...
Code Block |
---|
DataTable dtOrderInfo = GetCSVData("//data//OrderInfo.csv"); |
6. useUse
WordTemplate.SetRepeatBlock
to pass the data and the bookmark name.
...