none
DataTable argument for FillBy method for ReportViewer RRS feed

  • Question

  • Using VS2008 Standard Edition

    There is a MS ReportViewer report on a WinForm showing data from a local SQL Server database table.  It runs OK.  It was built with no hand coding, using just wizards.

    There is another user interface form, whereby the user enters Begin and End timestamps, then clicks a "Show" button to see a version of the report that is filtered by these timestamps.  The click event of this button has a FillByTSlimits() method that takes 3 arguments. 

    • A DataTable associated with the report
    • The 2 timestamps

    The problem is the DataTable argument.  The documentation says that the TableAdapter Wizard, which created and successfully tested the FillByTSlimits() method, also creates a DataTable but I can't find it.  None of the data objects shown by Intellisense as being linked to the reporting form, is accepted when a Build is attempted.

    So close, yet so far away.....

    Wednesday, July 21, 2010 8:52 PM