ASP.NET 3.5 Reporting Services
‘ReportViewer’ Control is available on the toolbar of Visual Stuio 2008.
Below C# code demonstrates the usage from code-behind.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
// your report server url here - looks like: http://localhost/ReportServer
ReportViewer1.ServerReport.ReportServerUrl = new Uri( ConfigurationSettings.AppSettings["pathReportServer"] );
// Add parameters if you have
List<reportparameter> paramList = new List<reportparameter>();
paramList.Add(new ReportParameter("Month", "01", false));
paramList.Add(new ReportParameter("Year", "2008", false));
// Your report path inside report [...]












