Hi,
The template seems to be a little different from the screenshot, so I am not sure it is the correct one, but some ideas:
- Images in FlexCel work by adding an image to the template, and then naming the image as something like <#exhibitorVisits.QRCode>
You have an image in the template, but it has no name:
To work, it should be something like the one in the example Images (C# / netframework) | FlexCel Studio for the .NET Framework documentation
In this second example <#photo> is defined in the config sheet as:
You do have a <#photo> expression in the config sheet, but it doesn't seem to be in the image. Maybe it is just an old template that you sent, but I wanted to make sure you have that correctly setup.
- In the code, is the field "qrcode" in the datatable of type
byte[]
?
You are getting a "System.byte[]" string, this means that somewhere the bytes are converted into a string. The most likely reason is that the db column is not a blob type. Take a look here:
c# - How can i add image in a datatable? - Stack Overflow
Let me knows if that works, if it doesn't I'll try to make a little example here and send it.