如何在远程服务器网络上发布Microsoft报告 - Microsoft Report 2010 [rdlc]?

问题描述:

嗨 真的很喜欢微软报告Iam。我仅使用Crystal报告之前。所以我没有任何想法。如何在远程服务器网络上发布Microsoft报告 - Microsoft Report 2010 [rdlc]?

从我的系统中收集我用下面的代码,它工作正常。但是我的程序必须由另外2个网络用户访问。在网络上我的程序工作正常,没有问题,除了报告。为此我没有任何想法,我还需要什么? 可能是我需要安装任何东西在我的sqlserver安装在网络上的机器? 或者我必须安装reportviewer到我的用户系统? 以及任何示例代码?

任何指标都会很高兴。

感谢您的想法。

感谢&问候 PARAMU

 
reportViewer1.RefreshReport(); 
Microsoft.Reporting.WinForms.ReportDataSource VehRDS = new Microsoft.Reporting.WinForms.ReportDataSource(); 
RepDS.Name = "DataSet1"; 
RepDS.Value = MyDataTable1; 
reportViewer1.LocalReport.DataSources.Clear(); 
reportViewer1.LocalReport.DataSources.Add(VehRDS); 
reportViewer1.LocalReport.ReportPath ="C:\\Documents and Settings\\...\\My Documents\\Visual Studio 2010\\Projects\\MyProject\\My_Report.rdlc"; 
reportViewer1.RefreshReport(); 
reportViewer1.Visible = true; 

我认为你需要安装合并模块的水晶报表。

Crystal Report MergeModule

然后在部署项目,你需要

How to: Add Merge Modules to a Deployment Project

问候

+0

谢谢...但我会要求有关的ReportViewer清除我所有的疑虑另一个问题。 – Paramu 2011-06-02 12:00:09