您好 真的,我对微软报道很新。之前我只使用Crystal报表。所以我不知道。
从我的系统实际上我使用了下面的代码,它工作正常。但我的程序必须由网络上的另外两个用户访问。在网络我的程序工作正常,除了报告没有问题。为此,我不知道,我还需要什么? 可能是我需要在我的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;
答案 0 :(得分:1)
答案 1 :(得分:1)