C# 如何在远程服务器网络上创建Microsoft报告-Microsoft Report 2010[rdlc]?

C# 如何在远程服务器网络上创建Microsoft报告-Microsoft Report 2010[rdlc]?,c#,reportviewer,C#,Reportviewer,嗨 真的,我对微软的报告很陌生。以前我只用水晶报表。所以我不知道 实际上,在我的系统中,我使用了下面的代码,它工作得很好。但我的程序必须被网络上另外两个用户访问。在网络上,我的程序运行良好,除了报告外没有问题。我不知道我还需要什么? 我可能需要在网络中安装sqlserver的计算机上安装任何东西? 或者我必须将reportviewer安装到我的用户系统? 有没有这方面的示例代码 任何人都会很高兴的 谢谢你的建议 谢谢和问候 帕拉穆 reportViewer1.RefreshReport(); M

嗨 真的,我对微软的报告很陌生。以前我只用水晶报表。所以我不知道

实际上,在我的系统中,我使用了下面的代码,它工作得很好。但我的程序必须被网络上另外两个用户访问。在网络上,我的程序运行良好,除了报告外没有问题。我不知道我还需要什么? 我可能需要在网络中安装sqlserver的计算机上安装任何东西? 或者我必须将reportviewer安装到我的用户系统? 有没有这方面的示例代码

任何人都会很高兴的

谢谢你的建议

谢谢和问候 帕拉穆

reportViewer1.RefreshReport(); Microsoft.Reporting.WinForms.ReportDataSource VehRDS=新的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安装合并模块

然后,在部署项目上,您需要


问候

谢谢。。。但我会问另一个关于reportviewer的问题,以澄清我的疑问。 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;