如何在vb.net中将rdlc报告路径设置为本地驱动器 [英] how to set the rdlc report path to the local drive in vb.net

查看:159
本文介绍了如何在vb.net中将rdlc报告路径设置为本地驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


请任何人提供有关如何将报告路径设置为本地驱动器的想法.我收到类似本地报表处理时发生错误"之类的错误.
找到下面的代码,并给我解决的想法.请提供紧急帮助.


Hi,
Please anyone give the idea about how to set the report path to the local drive. I got the error like "Error occured while local report processing".
find the below code and give me the idea to fix it. Urgent help please.


Rptvwr.LocalReport.ReportPath = "D:\foldername\ConsolidatedRpt.rdlc"



我已经将报告rdlc位置设置为本地驱动器,如上面提到的那样.


问候,
Bluesathish



I''ve to set my report rdlc location to the local drive like the above mentioned.


Regards,
Bluesathish

推荐答案


我的代码在语法上是正确的.是的,我明白了,您必须将一个名为
Hi,
My code was syntatically correct. yes I got it, You''ve to add one reference dll called
"Microsoft.ReportViewer.ProcessingObjectModel.dll"

的引用dll从GAC添加到您的项目中,以将报告路径设置为localdrive. br/>
问候,
蓝话

from the GAC into your project to set the reportpath as localdrive.

Regards,
Bluesathish


这篇关于如何在vb.net中将rdlc报告路径设置为本地驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆