1.安装SQL SERVER 2008
2.配置Report Services
3.调用报表代码
 //指定报表位置
                    ReportViewer1.ProcessingMode = ProcessingMode.Remote;
                    ReportViewer1.ServerReport.ReportServerUrl = new Uri(ConfigurationManager.AppSettings["ReportServerUrl"]);
                    ReportViewer1.ServerReport.ReportPath = ConfigurationManager.AppSettings["ReportServerRoot"] + RdlReportNameString;
 ReportViewer1.ServerReport.ReportServerCredentials =
                    new MyReportServerCredentials();
                    //添加参数
                    if (myReportParameter != null)
                        ReportViewer1.ServerReport.SetParameters(myReportParameter);
                    ReportViewer1.ShowParameterPrompts = false;
                    ReportViewer1.ShowToolBar = IsMyShowToolBar;
                    ReportViewer1.ShowBackButton = isShowBackButton;
4. COPYDLL(2个)到MOSS的BIN目录下
D:\Program Files\Microsoft Visual Studio 9.0\ReportViewer
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.WebForms.dll
 
 
                    
                 
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号