RDLC报告有时无法正常工作 [英] RDLC reports not working sometime

查看:95
本文介绍了RDLC报告有时无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在过去的2-3天内遇到了这个问题

之前我的RDLC报告加载得非常快但是现在有时报告正在加载,有时页面刷新图标正在旋转但是RDLC报告没有加载并且没有任何错误消息显示。

解决方案

在添加数据源之前报告清除数据源



< pre lang =cs> ReportViewer1.LocalReport.DataSources.Clear();
ReportViewer1.LocalReport.DataSources.Add(rds);
ReportViewer1.LocalReport.DataSources.Add(rds2);


I am facing this problem from last 2-3 days
Earlier my RDLC reports were loading very fastly but nowdays sometimes reports are loading and sometimes the page refreshing icon is rotating but RDLC report is not loading and neither any error message is displaying .

解决方案

before adding datasources to report clear your datasource

ReportViewer1.LocalReport.DataSources.Clear();
                ReportViewer1.LocalReport.DataSources.Add(rds);
                ReportViewer1.LocalReport.DataSources.Add(rds2);


这篇关于RDLC报告有时无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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