Crystal reports 调试VS 2012 Crystal Report项目时无法显示Crystal Report

Crystal reports 调试VS 2012 Crystal Report项目时无法显示Crystal Report,crystal-reports,Crystal Reports,我在运行Crystal Report VS 2012项目时遇到问题,无法生成报告。 但项目运行正常,但Crystal Report不会显示在浏览器中。 这是我的aspx和banckend 无效页面\u初始化对象发送者,事件参数e{ ReportDocument rbtObject=新股票报告; DataTable dt=StockController.LoadSearchStock; rbtObject.SetDataSourcedt; CrystalReportViewer1.Report

我在运行Crystal Report VS 2012项目时遇到问题,无法生成报告。 但项目运行正常,但Crystal Report不会显示在浏览器中。 这是我的aspx和banckend

无效页面\u初始化对象发送者,事件参数e{ ReportDocument rbtObject=新股票报告; DataTable dt=StockController.LoadSearchStock; rbtObject.SetDataSourcedt; CrystalReportViewer1.ReportSource=rbtObject;
}

Crystal Report viewer是否未显示在页面中,或者显示为空?页面中未显示任何内容。这是StockController.LoadSearchStock;填充数据表?是的,它正在填充数据表。方法参数仅用于测试
<asp:Panel ID="Panel1" runat="server">
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" ReportSourceID="CrystalReportSource1" AutoDataBind="true"
                            HasToggleParameterPanelButton="False" ToolPanelView="None" 
                                HasCrystalLogo="False" HasToggleGroupTreeButton="False" 
                                PrintMode="ActiveX" />


           <CR:CrystalReportSource ID="CrystalReportSource1" runat="server" >

           </CR:CrystalReportSource>
       </asp:Panel>