渲染报告时出现问题

编程入门 行业动态 更新时间:2024-10-08 20:38:09
本文介绍了渲染报告时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好,我在渲染本地报道时遇到了困难。我似乎无法得到正确的代码。 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?

更多推荐

渲染报告时出现问题

本文发布于:2023-10-31 10:30:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545814.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报告

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!