<bdo id='AKQU3'></bdo><ul id='AKQU3'></ul>
      <legend id='AKQU3'><style id='AKQU3'><dir id='AKQU3'><q id='AKQU3'></q></dir></style></legend>
      <tfoot id='AKQU3'></tfoot>

      <i id='AKQU3'><tr id='AKQU3'><dt id='AKQU3'><q id='AKQU3'><span id='AKQU3'><b id='AKQU3'><form id='AKQU3'><ins id='AKQU3'></ins><ul id='AKQU3'></ul><sub id='AKQU3'></sub></form><legend id='AKQU3'></legend><bdo id='AKQU3'><pre id='AKQU3'><center id='AKQU3'></center></pre></bdo></b><th id='AKQU3'></th></span></q></dt></tr></i><div id='AKQU3'><tfoot id='AKQU3'></tfoot><dl id='AKQU3'><fieldset id='AKQU3'></fieldset></dl></div>

        <small id='AKQU3'></small><noframes id='AKQU3'>

      1. 无法在清单资源中找到报告 - Crystal Report/C#

        时间:2023-07-11

        1. <legend id='sHUFj'><style id='sHUFj'><dir id='sHUFj'><q id='sHUFj'></q></dir></style></legend>
              • <bdo id='sHUFj'></bdo><ul id='sHUFj'></ul>
                <i id='sHUFj'><tr id='sHUFj'><dt id='sHUFj'><q id='sHUFj'><span id='sHUFj'><b id='sHUFj'><form id='sHUFj'><ins id='sHUFj'></ins><ul id='sHUFj'></ul><sub id='sHUFj'></sub></form><legend id='sHUFj'></legend><bdo id='sHUFj'><pre id='sHUFj'><center id='sHUFj'></center></pre></bdo></b><th id='sHUFj'></th></span></q></dt></tr></i><div id='sHUFj'><tfoot id='sHUFj'></tfoot><dl id='sHUFj'><fieldset id='sHUFj'></fieldset></dl></div>

                  <tbody id='sHUFj'></tbody>
              • <tfoot id='sHUFj'></tfoot>
                • <small id='sHUFj'></small><noframes id='sHUFj'>

                  本文介绍了无法在清单资源中找到报告 - Crystal Report/C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个用 C# 编写的 Windows 应用程序,我正在尝试使用水晶报表查看器显示水晶报表.我的报告名称是receiptReport",我使用以下行在查看器中显示报告:

                  I have a windows application written in C# and am trying to display crystal report using crystal report viewer. The name of my report is "receiptReport" and I am using following line to show report in viewer:

                  receiptReport rpt = new receiptReport();
                  crystalReportViewer.ReportSource = rpt;
                  

                  我收到以下错误:无法在清单资源中找到报告.请构建项目,然后重试.

                  我已经尝试将报告文件receiptReport.rpt"的构建操作设置为嵌入式资源,但现在仍然很幸运..我使用的是 VS2010..

                  I have tried by setting Build Action of report file 'receiptReport.rpt' to Embedded Resource but still now luck.. Im using VS2010..

                  推荐答案

                  经过大量谷歌搜索后,CR 出现很多问题,其中一个修复程序将解决问题.

                  A lot of things go wrong with CR after a lot of googling one of these fixes will solve the problem.

                  1) 如果包含文件夹的名称中有空格,则报告代码文件 (.cs) 中的 Full FullResourceName 属性将出错.最好的解决方法是重命名文件夹以删除空格,如果您手动编辑代码文件,错误将不断出现

                  1) Full FullResourceName property in the reports code file (.cs) will be wrong if the containing folder(s) has spaces in its name. The best fix is to rename the folder to remove spaces if you manually edit the code file the error will keep coming back

                  2) 确保 rtp 文件的 build 属性设置为 Embedded Resource

                  2) Make sure the build property of the rtp file is set to Embedded Resource

                  3) 使用 Developer Express 进行报告并首先避免所有令人头疼的问题

                  3) Use Developer Express for reporting and avoid all headaches in the first place

                  这篇关于无法在清单资源中找到报告 - Crystal Report/C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在清单资源中找不到报告 下一篇:在水晶报表中传递参数

                  相关文章

                  <tfoot id='anXII'></tfoot>
                • <small id='anXII'></small><noframes id='anXII'>

                  <legend id='anXII'><style id='anXII'><dir id='anXII'><q id='anXII'></q></dir></style></legend>
                    <i id='anXII'><tr id='anXII'><dt id='anXII'><q id='anXII'><span id='anXII'><b id='anXII'><form id='anXII'><ins id='anXII'></ins><ul id='anXII'></ul><sub id='anXII'></sub></form><legend id='anXII'></legend><bdo id='anXII'><pre id='anXII'><center id='anXII'></center></pre></bdo></b><th id='anXII'></th></span></q></dt></tr></i><div id='anXII'><tfoot id='anXII'></tfoot><dl id='anXII'><fieldset id='anXII'></fieldset></dl></div>
                      • <bdo id='anXII'></bdo><ul id='anXII'></ul>