473,386 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Multiple reports in a single Reportviewer in Visual Studio 2010

My requirement is to create multiple reports (.rdlc) and show them using single report viewer control.
A: User selects a report from drop down list.
B: Depending on report name a report has to be displayed in the report viewer.

I have handled same scenario in VS2008 as follows:
Step1) Created a Dataset
Step2) Created multiple TableAdapters in the DataSet (one for each report)
Step3) Selected Report-> DataSources. I get the DataSet created in step 1 with all the TableAdapters(created in Step2) listed. I chose the appropriate TableAdapter and bind it with the report.


But in VS2010 I am not able to do the same;I created a DataSet named ReportDataSet with TableAdapters and two reports. Then, I took following two approaches to do it but in vain:

Approach A) In Report1 I drop a Table to report designer and the DataSet Properties window pop up. But I am not able to see the DataSet I created for the reports(ReportDataSet). If I click on "New" then it creates a new Dataset itself which I dont want.

Approach B) In Report1 opened "View -> ReportData" and clicked on "New" it also opens up the same pop up (Dtaaset Propertied) without the Dataset (ReportDataSet).


Can someone help me in achieving it in VS2010?
May 31 '10 #1
0 2048

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: jabailo | last post by:
These guys have it going on. They actually use design ideas that Microsoft employees can drool upon. Visual Studio 2010 Concept IDE http://www.codeproject.com/csharp/Concept_IDE.asp "Like...
1
by: Adam | last post by:
In Winforms, in Visual Studio, how does one add multiple event handlers in the properties box for let's say, a textbox TextChanged event? Thanks in advance. Adam
1
by: Brian Henry | last post by:
does anyone know if Business objects released an upgrade for crystal reports XI yet for visual studio 2005? I am having major problems with this in VS2005 because it only wants to work with reports...
0
by: rtwPhoenix | last post by:
If anyone has had problems with Crystal Reports using VS 2005 and vb.net I found this guide that worked! Following the directions carefully I cut and pasted from the examples after hours and days...
2
by: Nikolay Belyh | last post by:
1. Why does Visual Studio 2008 started ignoring //{NO_DEPENDENCIES} in resource.h? If I edit file "resource.h" _manually_, it rebuilds the whole solution. It worked just fine with Visual Studio...
6
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my...
4
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
1
by: =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post by:
Visual Studio 2010 and .NET Framework 4.0 Overview URL:http://msdn.microsoft.com/en-us/vstudio/products/cc948977.aspx Regards Kerem -- ----------------------- Beste Grüsse / Best regards...
5
by: gabielmatos | last post by:
I done a windows project on visual studio 2005 with a couple of crystal reports, and I want to migrate to Visual studio 2010. I know that the new visual studio 2010 doesn't have crystalreport and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.