Thursday, 13 December 2012

ASP.NET: Display an image from database within rdlc report using Report Viewer

1) Make sure that the image in the DB (MS SQL Server):

FileContentType nvarchar(255)
FileContent varbinary(MAX)

2) Load the dataset with the above columns within your Dataset.

3) Add an "Image" report item to the rdlc report file to display the image:

Please refer to this post if you are having an issue with pjpeg MIME types:

No comments:

Post a Comment