bind datatable to reporting services from code RRS feed

  • Question

  • User-1474096950 posted

    i have a datable dt with data obtained from grid in code behind

    i have created a report.rdlc an added table to it so tht i can get the data in a formatted order

    how do i assign dt as datasource for the report without physically creating dataset 

    how do i bind the dt to report and add the needed field to the report 

    currently i get error The table ‘table1’ is in the report body but the report has no data set.  Data regions are not allowed in reports without datasets.

    Sunday, January 26, 2014 5:07 AM

All replies

  • User-804859193 posted

    Try using Report parameters.

    Then again all your report fields will take values from report parameters.

    That would be a mess with a list in the report.

    Sunday, January 26, 2014 10:03 AM