评论会员:Prasanth小号 时间:2012/02/06
链接
{A1}]
评论会员:GanesanSenthilvel 时间:2012/02/06
。NET应用程序开发人员,我敢肯定,你的后台是SQL。因此,解决您的问题陈述,是的SSRS(SQL Server报表服务)。为了渲染的报告,您将使用的ReportViewer
Collection<ReportParameter> paramList = new Collection<ReportParameter>();
string reportPath = ApplicationInfo.ScorecardReportPath;
paramList.Add(new ReportParameter("UID", "5"));
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://servername/ReportServer");
ReportViewer1.ServerReport.ReportPath = reportPath;
ReportViewer1.ServerReport.SetParameters(paramList);
ReportViewer1.ServerReport.Refresh();