Solved

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

Posted on 2009-05-04
2
2,952 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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:…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now