多个ReportViewer表 [英] Multiple ReportViewer tables

查看:77
本文介绍了多个ReportViewer表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Visual Studio 2005中为我的rdlc文件添加一个表。(我原本想添加一个子报告但厌倦了模糊的"错误:无法显示子报告。"可能导致此问题的原因是导致那个。)我将一个表适配器添加到报告所引用的相同数据源中,然后我将其几个字段拖到我的表中,该表位于我的旧表之下。在报表上,我点击了"重新绑定数据源"。并且出现了新的绑定源和表适配器,并且Fill函数将自己写在表单的load事件的顶部。

今天早上报告工作正常。现在,它给了我"没有为数据源提供数据源实例'datLogLogitAssay_tblRejectLevels'" tblRejectLevels是datLogLogitAssay数据源中新表适配器的名称。任何想法?

提前感谢。

I want to add a table to my rdlc file in Visual Studio 2005.  (I originally wanted to add a subreport but got tired of the nebulous "Error: subreport could not be shown."  Maybe what's causing this problem is causing that one, too.)  I added a table adapter to the same data source the report pulled from, then I dragged a couple of its fields into my table, which is below my old one.  On the report form, I clicked "Rebind Data Sources" and the new binding source and table adapter appeared, and the Fill functions wrote themselves on the top of the form's load event.  

The report worked fine this morning.  Now, it gives me "A data source instance has not been supplied for the data source 'datLogLogitAssay_tblRejectLevels'"  tblRejectLevels is the name of my new table adapter in the datLogLogitAssay data source.  Any ideas?

Thanks in advance.

 

推荐答案

您需要清除报告的其他数据源并仅添加所需的数据源。当有其他数据源时,它会出现此错误。


这篇关于多个ReportViewer表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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