Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I use the ASP.NET ReportViewer with linq?

Posted on 2009-05-04
2
Medium Priority
?
3,050 Views
Last Modified: 2013-11-26
I am a complete novice when it comes to the ReportViewer control in ASP.NET 3.5. I was recently pointed to the ASP.NET Reports web site template in Visual Studio 2008. Unfortunately, I don't want to create an entirely new web site, I want to add a ReportViewer to my existing ASP.NET web site built using visual Studio 2008, is this possible? I also want to build my ReportViewer using a linq to sql data source, possible? My ideal situation would be to add another page to my current asp.net web site, drop a reportviewer control onto that page, build the backend data supplied to the report using joins and filters in linq, and somehow create two textbox controls on my reportviewer page that allows the user to supply dates (to and from dates) to my linq query in order to filter the frontend data...possible?

Thanks.
0
Comment
Question by:Shepwedd
2 Comments
 
LVL 9

Accepted Solution

by:
VikramMullick earned 1000 total points
ID: 24301942
0
 

Author Comment

by:Shepwedd
ID: 24302664
Thanks for the link. It's the last bit that I don't get: "you can create the report parameters object to pass the values from textbox or dropdownlist into your reportviewer"?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question