我有一个用C#编写的Windows应用程序,并试图使用水晶报表查看器显示水晶报表。我的报告的名称是“receiptReport”,我使用下面的行显示在浏览器报告:以下错误无法在清单资源中找到报告 - Crystal Report/C#
receiptReport rpt = new receiptReport();
crystalReportViewer.ReportSource = rpt;
我收到:Unable to find the report in the manifest resources. Please build the project, and try again.
我已经通过设置建立报告文件的行动“尝试ReceReport.rpt'到Embedded Resource,但现在仍然运气..使用VS2010 ..我使用VS ..
没关系,我已经找到了答案,在我的receiptReport.cs文件中,在FullResourceName属性下,完整的资源名称是错误的(Namespace + ClassName + .rpt),我在修复它后工作。 – Waqas 2010-12-10 13:25:12
可以请你告诉我使用哪个类名并给予例如 – Milind 2013-04-23 06:18:43