首页 文章

Visual Studio 2012中的Crystal Report不会在浏览器中显示

提问于
浏览
0

我使用的Crystal Report版本是SAP Crystal Reports,Microsoft Visual Studio SP5的开发人员版本我从http://scn.sap.com/docs/DOC-35074下载了它

HTML代码

<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" />

代码背后

conn.Open();
        palce dss = new palce();
        string sql = "Select * FROM [Places]";
        SqlDataAdapter adp = new SqlDataAdapter(sql,conn);
        adp.Fill(dss.PlaceView);
        myCrystalReport report = new myCrystalReport();
        report.SetDataSource(dss);
        CrystalReportViewer1.ReportSource = report;

没有运行时错误,但Crystal报告只是不会出现在我的任何浏览器中

谷歌浏览器版本31.0.1650.57 IE 10

我也在VS 2012中使用内置的IIS express

2 回答

相关问题