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

x
?
Solved

C#.Net - calling a report using SSRS

Posted on 2011-03-14
3
Medium Priority
?
659 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
  • 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

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

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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…
Screencast - Getting to Know the Pipeline

885 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