Page tree
Skip to end of metadata
Go to start of metadata

Intro

WordTemplate can insert images from byte arrays or ADO.NET objects into your Word documents.


The AdventureWorks SQL query includes the ProductPhoto.ThumbNailPhoto field, which is a binary image stored in the database. By using special merge field syntax (click "View template" to see the template document and merge fields), you can import the image from the DataColumn into the document at runtime.

Code

 Downloads

  • No labels