【发布时间】:2019-10-06 03:26:04
【问题描述】:
我需要有关在 VS 2017 环境中创建的 Windows 应用程序中使用 rdlc 文件的帮助。
我在Publishing RDLC files 上读到了类似的内容,但不确定如何使用 ReportPath,我当前的代码如下,并且在我的机器上的 Visual Studio 中运行良好,我确信部署后它不会在客户的机器上运行。
MyRptViewer.LocalReport.ReportPath = Application.StartupPath + "/Reports/MyReport.rdlc";
安装时是否会创建 Reports 文件夹并将 .rdlc 文件复制到本地计算机?
如果有人可以指导我,我将不胜感激。
谢谢。
【问题讨论】:
标签: visual-studio-2017 rdlc reportviewer