Solved

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

Posted on 2009-05-04
2
2,999 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

623 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