Setting local report hyperlink option to another local .rdlc report in c# Winforms application

妖精的绣舞 提交于 2019-11-30 16:08:38

问题


From the screenshot window below, how can i specify a local(.rdlc) report in my applications reports folder? If i just enter the name of my Report, the hyper-link doesn't work, when you hover over the field value, there is completely no sign that a hyper-link exists.

But if i select Go to URL and enter ="http://www.mysite.co.ug/" as the expression, it works.

I have a feeling am making an error in the way iam referencing my report path, i want to see an example in which the the option Go to report is selected and a local .rdlc report is specified.

How to do you refer to a local report in Specify a Report area?


回答1:


If i just enter the name of my Report, the hyper-link doesn't work

You need to specify the fully-qualified name (including the namespace) of the .rdlc file in your project, and surround it with quotes - and since it's an expression it has to start with an equal sign so something like ="MyCompany.MySolution.MyProject.Reporting.MyReport.rdlc" works (just tested it).



来源:https://stackoverflow.com/questions/11153429/setting-local-report-hyperlink-option-to-another-local-rdlc-report-in-c-sharp-w

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!