CrystalReportViewer

Discussion in 'ASP .Net Web Controls' started by perfume117, Feb 27, 2007.

  1. perfume117

    perfume117 Guest

    hi
    i have problem with CrystalReportViewer. Is there anyone making an
    example of using it in web form?(i use asp.net with c#)
    i write this code
    ReportDocument rd;
    showrpt rpt1 = new showrpt();
    rd = new logs();
    dataSet11.logs.Clear();
    rpt1.CrystalReportViewer1.ReportSource = rd;
    rd.SetDataSource(tempdb);
    rpt1.CrystalReportViewer1.ShowFirstPage();
    and the following error occured: System.NullReferenceException: Object
    reference not set to an instance of an object.
    perfume117, Feb 27, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Watkins

    CrystalReportViewer ReportSource problem

    Brian Watkins, Jul 10, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    2,541
    Brian Watkins
    Jul 10, 2003
  2. Shannon Cayze
    Replies:
    0
    Views:
    447
    Shannon Cayze
    Jul 22, 2003
  3. Christopher Campbell

    Horizontal position of the CrystalReportViewer Control

    Christopher Campbell, Aug 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,812
    Leon Jollans
    Aug 28, 2003
  4. tom
    Replies:
    0
    Views:
    418
  5. tom
    Replies:
    0
    Views:
    375
Loading...

Share This Page