本地报道问题(rdlc)VS 2017 [英] Problem with local reports (rdlc) VS 2017

查看:92
本文介绍了本地报道问题(rdlc)VS 2017的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我的本​​地报道存在问题。会发生什么,这是第二次,在设计器中修改报表后,报表查看器中的报表无法再加载。 (尚未为数据源提供数据源实例"Datasource_Name"。
其中Datasource_Name只是我的数据源的名称。


如果我查看报表设计器,报表数据窗格中有一个数据源和一个数据集。如果我右键单击Tablix,数据集名称就会被填充。


如果我去我的单击表单,单击小箭头,选择一个报告,然后选择
选择数据源,
报告数据源
数据源实例
为空。重新绑定数据源
也不起作用。


如果我使用向导创建新报告,并且在报告查看器中选择新创建的报告,一切都很顺利。我可以在设计器中更改报告并再次运行它没有任何问题。但是在突然做了很多更改之后我得到了上面描述的
错误我不能再运行我的报告。这非常烦人,因为我花了很多钱创建它们的时间,我没有线索去除错误或解决报告数据源和数据源实例问题。


任何想法?可能是一个损坏的XML文件?


问候,


标记

解决方案

< blockquote>

嗨Mark,


由于我没有解决您的问题,我觉得这篇文章可能对您有所帮助。


请参考:


https://www.aspsnippets.com/Articles/Using-ReportViewer-control-in-Windows-Forms-WinForms-Application-using-C-and-VBNet.aspx


最好的问候,


Cherry Bu


Hi all,

I have a problem with local reports. What happens is, and this is the second time, After modifying a report in the designer, the report can't be loaded anymore in the report viewer. (A data source instance has not been supplied for the datasource "Datasource_Name". Where Datasource_Name is just the name of my Data Source.

If I look in the report designer, there is a data source, and a dataset in the report data pane. If I right click on the Tablix, the Dataset name is filled.

If I go to my form, click the small arrow, select a report, then select Choose Data Sources, the Report Data Source and the Data Source Instance are empty. The Rebind Data Source does not work either.

If I create a new report with the wizard, and choose the newly created report in the Report Viewer, all went fine. I can change the report in the designer and run it again with no problems. But after making a lot of changes suddenly I get the error described above and I can't run my report anymore. This is very annoying because I spent a lot of time creating them, and I don't have a clue to get rid of the error or solve the Report Data Source and Data Source Instance problem.

Any Idea's? Maybe a corrupt XML File?

regards,

Mark

解决方案

Hi Mark,

Since I don't clear your problem, I find this article that may be helpful to you.

Please refer to:

https://www.aspsnippets.com/Articles/Using-ReportViewer-control-in-Windows-Forms-WinForms-Application-using-C-and-VBNet.aspx

Best Regards,

Cherry Bu


这篇关于本地报道问题(rdlc)VS 2017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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