Solved

C#.Net - calling a report using SSRS

Posted on 2011-03-14
3
654 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:
agarwalrahul earned 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
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…

809 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