06Feb
How to pass Images from Report Body to Header/Footer in RDLC
When using SetData and GetData functions to pass data from report body to report header/footer we can also pass the images.
For example: when creating a multiple document for different companies with different logos. Find the below code to achieve the scenario.
1. Create the following function in Report Properties:
Public Function ConvertPicture(Value)
If IsNothing(Value) Then
Return ""
End If
Return Cstr(Convert.ToBase64String(Value))
End Function

2.In SetData add the newly created Function with the Field reference to BLOB Field
Code.ConvertPicture(Fields!CheckSignatureTCheckSignature.Value) + Chr(177)

3. Use GetData in Image Properties to reference to the respective Field of the SetData Function.
Related
Want to load the data dynamically as Facebook feeds?Need to populate the data when scrollbar comes d...
Read More >
Defect is an unexpected behavior of the software application flow against the requirement specificat...
Read More >
DevOpSmartBoard -The Ultimate End-To-End and One Stop Dashboard solution for all the reporting needs...
Read More >
Nearly all versions of the Visual Studio IDE provide integration features for source control. Git Cl...
Read More >
User Tasks is a one of the new feature added in Microsoft Dynamics NAV 2018.In this you can create t...
Read More >
The main difference between Radio button and Checkbox is that, using radio button we will be able to...
Read More >
Configure a Point-to-Site connectivity to a VNet using PowerShell (ARM Mode)Task 1: Create a Self-Si...
Read More >
Everyone would have installed NAV 2016 RTM and would have faced the same problem, i.e, you couldn...
Read More >
Please watch the LIVE RECORDING Video of the webinar session below which took place on 4th...
Read More >
Share