Click here to Skip to main content
15,882,114 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!!
Posted
Comments
Mohan Gopi 2-Aug-13 5:22am    
Could you share me the code, how you are passing Datasource?. let me know.

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
 
Share this answer
 
Hi ,
Check sub report it will do the job
google
best regards
M.mitwalli
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900