Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft Reports [rdlc] on Network ?
Message
De
03/06/2011 01:47:50
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Microsoft Reports [rdlc] on Network ?
Versions des environnements
Environment:
C# 4.0
Divers
Thread ID:
01512677
Message ID:
01512677
Vues:
122
Hi

Actaully from my system I used the below code and it works fine as a local Report. But my program has to be accessed by 2 more users on network. For that I have no any idea, what else I need? May be I need to install anything on my sqlserver installed machine in network?
or I have to install reportviewer to my users system ?

And any sample code for that?

Any Guidences will be happy.

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;
I tried by the below code

reportViewer1.ServerReport.ReportPath = "//Mysever/MyProject/Expence_Report.rdlc";And I copied my report to that server folder And I tried. Is it correct or some other way?

Thanks For The Ideas & Guidences
Répondre
Fil
Voir

Click here to load this message in the networking platform