将多个数据源传递给reprt查看器 [英] passing multiple datasources to reprt viewer

查看:93
本文介绍了将多个数据源传递给reprt查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,





我正在设计报告,使用报告查看器生成员工的工资单,我在这里使用多个存储过程和表来检索员工的信息,以便我获取多个数据集和多个数据源。当我这样做时,我得到一个错误,如:



尚未为数据源提供数据源实例'Dataset_XXXXX'





如果我只使用一个数据源工作正常并在传递第二个资源时出错。



现在我的疑问是,我们可以将多个数据源传递给报表查看器吗,如果是的话,有人可以解释我怎么可能吗?



在此先感谢!!

Hello everyone,


i'm designing a report using report viewer to generate a payslip of an employee and here i'm using multiple stored procedures and tables to retrieve information of employee so im taking multiple datasets and multiple datasources. when im doing in this way, im getting an error like:

"A data source instance has not been supplied for the data source 'Dataset_XXXXX'"


if im taking only one datasource its working fine and getting an error when passing the second datsource.

Now my Doubt is,can we pass multiple datasources to a report viewer, if it yes could you people explain me how is it possible??

Thanks in advance!!

推荐答案

没有你不能向晶体报告发送两个不同的数据。你可以使用第二个数据源的parameteresto发送。或者将两者合并到存储过程中。



希望它有所帮助
no you can not send two different data to crystal report. you could use parameteresto send from the second datasource. or combine the two in the stored procedure.

hope it help




检查子报告它将完成这项工作

google

最好的问候

M.mitwalli
Hi ,
Check sub report it will do the job
google
best regards
M.mitwalli


这篇关于将多个数据源传递给reprt查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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