sandip.AP
on Aug 24, 2017 04:34 AM
13873 Views
Dear All,
i Have a query .
In My Projects i would like to Insert Employee Data into RDLC Report.
and It is successfull.
now the Think is I would to insert Attachement with Data into RDLC Report.
How can i do?
Please help me or send me Code.
Regards,
Sandip Patil
Download FREE API for Word, Excel and PDF in ASP.Net:
Download
dharmendr
on Aug 24, 2017 08:06 AM
on Aug 24, 2017 10:58 AM
3
If you go to the report and click on the cell, choose "TextBox" Properties. There is an "Action" option where you can specify an hyperlink with an expression. Refer below link.
https://weblogs.asp.net/rajbk/Contents/Item/Display/87
By refering the below article i have created the sample. Based on the Contact name you need to do the task what you want ie download or display document based on the querystring value.
The report will not render because hyperlinks are disabled by default in the ReportViewer control. To enable it, add the following in your page load even.
ReportViewer1.LocalReport.EnableHyperlinks = true;
Screenshot
