Solved

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

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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

751 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