H
halaor
I have my data filled in a DataTable, generated on runtime.
I have a DataSet, into this DataSet i add my DataTable
dataSet1.Tables.Add(datatable);
Now I would like to show this simple table as a Report in a
ReportViewer, so that user can print it out.
In the Report.rdlc, i inserted from the Toolbox a Table table1.
Now I get the 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.
I don't know, how i can "bind" my DataSet or DataTable to this Report.
Anyone can help me?
Thanks
I have a DataSet, into this DataSet i add my DataTable
dataSet1.Tables.Add(datatable);
Now I would like to show this simple table as a Report in a
ReportViewer, so that user can print it out.
In the Report.rdlc, i inserted from the Toolbox a Table table1.
Now I get the 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.
I don't know, how i can "bind" my DataSet or DataTable to this Report.
Anyone can help me?
Thanks