.RDLC wizard cannot find the objectdatasource in the Project datasource wizard. RRS feed

  • Question

  • hi .................

    I am working with Visual Studio 2008 Professional Edition, developing in Rportviewer Website.

    one the Frontend Application ReportWebsite . and another is ReportsClassLibrary

    ReportWebsite Containes the Reportviewer and ReportsClassLibrary

    containes classLibrary include select methods (C# ObjectDataSource, database Oracle 11g.)

    I am also add reference ReportsClassLibrary to ReportWebSite


    I create .rdlc file (Add --> New Item --> Reporting -->Report Wizard) . My problem is the

    project datasource not find the Select method in the ReportsClassLibrary


    I rebuild the Solution , no gain the problem is still...

    please help......



    Monday, October 18, 2010 6:54 AM


  • Thanks God ..................

    I get it the solutions........

    my mistake is , I write only the parametrized constructor on that class.

    I add the Default constructor on that class, then build the ReportsClassLibrary 

    on then take the Add -> New Item -> Reporting -> Report Wizard ) ,then project datasource

    i get the method on that class.

                                   " when using a class in .rdlc   Report wizard,   must ensure 

                                      the default constructor on that class. "



    • Marked as answer by RageshShiva Tuesday, October 26, 2010 7:13 AM
    Tuesday, October 26, 2010 7:13 AM