Tag: reportingservices 2005

报表查看器未加载,显示空白 – 运行本地RDLC文件

我遇到了报告服务的问题,在2005版本上运行本地rdlc文件。 我在HTML中有一个报表查看器设置为在本地运行,如下所示: 在代码中 // create SqlConnection SqlConnection myConnection = new SqlConnection(ConnectionString); myCommand.Connection = myConnection; SqlDataAdapter da = new SqlDataAdapter(myCommand); //get the data DataSet data = new DataSet(); da.Fill(data); if (data != null && data.Tables.Count > 0 && data.Tables[0].Rows.Count > 0) { ReportingServicesReportViewer.Visible = true; ltrStatus.Text = string.Empty; //provide local report information to viewer ReportingServicesReportViewer.LocalReport.ReportPath = […]