Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

My crystal report is showing blank

I am using crystalreports 13 with 4.6 in windows server 2012..
But My report is not generating even crystal report viewer is not rendering.heck my

you can check it online at:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Data;

using System.Data.SqlClient;

public partial class reports_testreport : System.Web.UI.Page


    King king = new King();

    protected void Page_Load(object sender, EventArgs e)


        CrystalDecisions.CrystalReports.Engine.ReportDocument rd = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

        ordersdataset ods = new ordersdataset();

        DataSet ds = new DataSet();

        SqlDataAdapter da = king.getdataadapter("select * from [order_send]");


      da.Fill(ods, "order_send");  

        int n = ods.Tables["order_send"].Rows.Count;

       // da.Fill(ds, "order_send");


        string url = Server.MapPath("./labels.rpt");





        CrystalReportViewer1.ReportSource = rd;

        CrystalReportViewer1.RefreshReport(); ;



Here is my code

Former Member
Not what you were looking for? View more on this topic or Ask a question