如何解决rdlc视图错误 [英] How to solve the rdlc view error

查看:66
本文介绍了如何解决rdlc视图错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的代码



ReportViewer1.reset();



ReportDatasource rdt = new ReportDatasource( 数据集1,dt);



ReportView1.localreport.datasource.add(rdt);



ReportView1.localreport.reportpath =Report1.rdlc;



reportviwer1.referesh();





错误是:





本地报告处理过程中出错。

报告E:/Sample/Sample/bin/debug/report1.rdlc的报告定义无法找到文件E:/Sample/Sample/bin/debug/report1.rdlc

this my code

ReportViewer1.reset();

ReportDatasource rdt=new ReportDatasource("Dataset1",dt);

ReportView1.localreport.datasource.add(rdt);

ReportView1.localreport.reportpath="Report1.rdlc";

reportviwer1.referesh();


Error is:


An error occurred during local report processing.
The report definition for report "E:/Sample/Sample/bin/debug/report1.rdlc" has could notfind file "E:/Sample/Sample/bin/debug/report1.rdlc"

推荐答案

检查您是否安装了报表查看器?



如果已安装,则重新安装....
Check that you have installed report viewer or not??

if it installed then reinstall that....


这篇关于如何解决rdlc视图错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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