大家好,我在渲染本地报道时遇到了困难。我似乎无法得到正确的代码。 Visual Studio 2008 VB.Net,SQL Server 2005. 在click事件中,我有以下代码: Me.rvApptRpt.LocalReport.ReportEmbeddedResource =" ReportingServicesLocal.Appointments.rdlc" Me.rvApptRpt.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource(" EmdIntData_AppointmentHistory",Me.EmdIntData.Tables(2))) Me.rvApptRpt.BringToFront()我.rvApptRpt.Visible = True Me.rvApptRpt.Refresh()在应用程序执行后,报告为空,除了一条消息说明:"尚未指定报告定义的来源"。源代码是否未在我的代码中定义?如果没有,我到底需要做什么。感谢您的帮助。罗伊
Hi All,I am having a difficult time rendering a localreport. I cannot seem to get the code correct. Visual Studio 2008 VB.Net, SQL Server 2005.In the click event, I have the following code: Me.rvApptRpt.LocalReport.ReportEmbeddedResource = "ReportingServicesLocal.Appointments.rdlc" Me.rvApptRpt.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("EmdIntData_AppointmentHistory", Me.EmdIntData.Tables(2))) Me.rvApptRpt.BringToFront() Me.rvApptRpt.Visible = True Me.rvApptRpt.Refresh()After the app executes, the report is blank except for a message stating: "The source of the report definition has not been specified". Is the source not defined in my code?If not, what exactly do I need to do.Your help is appreciated.Roy
推荐答案我有同样的问题。你找到了解决办法吗? I have the same issue.Did you find a solution?
更多推荐
渲染报告时出现问题
发布评论