2011-06-02 65 views
0

嗨 真的很喜歡微軟報告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; 

回答