locked
report has no tables when adding datatable to dataset RRS feed

  • Question

  • User-1474096950 posted
      DataSet ds = new DataSet();           
               
                dtbill = (DataTable)Session["bill"]; 
                ds.Tables.Add(dtbill);
                ReportDocument rd = new ReportDocument();
                rd.Load(Server.MapPath("Reports/RptBill.rpt"));
                rd.SetDataSource(ds);
                CrystalReportViewer1.ReportSource = rd;

    i have the above code

    i dont have a physical dataset or xsd to bind to crystalreport

    i am generating datatable from the code ie gettinf values from the grid & that data i need to sent to crystalreport

    Saturday, February 1, 2014 2:50 AM

Answers

  • User-1474096950 posted

    Thanks 

    issue resolved

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, February 2, 2014 12:34 AM