Cant Compile w/o DataSet? RRS feed

  • Question

  • Ive been trying to read up and learn all about the reportviewer as possible.  I really want to use it in my little project Im writing.  In my little program Im creating a datatable which I want to display through the reportviewer.  The data in the table changes depending on certain user selections.  I designed the rdlc file (I think correctly) and just want to bind the datatable to the reportviewer.  But when I try to compile it kicks out an error:


    Error 1 The table ‘table1’ is in the report body but the report has no data set.  Data regions are not allowed in reports without datasets. C:\Documents and Settings\rmolney\My Documents\Visual Studio 2005\Projects\resporttest\resporttest\Report1.rdlc resporttest

    This is probably rather ignorant of me, but how can I give the report a data set (thats pretty much the same as the datatable right?) that I havent created yet? 

    Tuesday, May 22, 2007 10:56 PM