none
crystalreport error "Exception has been thrown by the target of an invocation" RRS feed

  • Question

  • hi

    i have a report form and a datatable in it. when i fill the datatable the error bellow occur:

    "Exception has been thrown by the target of an invocation."

    my_report report = new my_report();
    report.Database.Tables[0].SetDataSource(search_table.DefaultView.ToTable());
    

    i use vs.net 2010 but in vs.net 2008 this code worked well !!!!!

    thanks for your attention.

    Wednesday, September 26, 2012 6:41 AM

Answers

  • ReportDocument rpt = new ReportDocument();

    rpt.SetDataSource(search_table.DefaultView.ToTable());

    Wednesday, November 28, 2012 7:01 AM