Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

C#.Net - calling a report using SSRS

Posted on 2011-03-14
3
Medium Priority
?
658 Views
Last Modified: 2012-05-11
I have a created in MS SQL 2005 a report named ODC and it has 1 parameter RN.
I want to be able to programmatically call (in C#.NET) the report using SQL Server Reporting Services (SSRS).
The file should be saved to C:\reports\ and named ODC + the value of RN
Can someone provide me a simple solution
(I am a new programmer to C# using the Express version).
0
Comment
Question by:n2dweb
[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
3 Comments
 
LVL 1

Author Comment

by:n2dweb
ID: 35134440
This is a console application. (Not a web app) - thanks
0
 
LVL 13

Accepted Solution

by:
Rahul Agarwal earned 2000 total points
ID: 35135777
0
 
LVL 1

Author Comment

by:n2dweb
ID: 35136337
I have created a project using the code but the web reference does not like:
            RS2005.ReportingService2005 rs;
 If I type RS2005.  then the auto complete points to references
            RS2005.ReportHistorySnapshot;
            RS2005.ReportingService2005Soap
and others. but not to RS2005.ReportingService2005

Please help
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

688 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