Reputation: 4848
I have a form on my screen with a reportviewer control. I want to create a report, but since my dataset/datatable is defined within my program and not with a wizard, my dataset doesn't appear as a choice when trying to define a new report on the reportviewer.
So, my question is, "How can I use my 'internally described' dataset as the datasource for the .rdlc/reportviewer control?"
Thanks for any advice and help.
Also, before anyone asks, the dataset is filled with data from within the program, so it is not databound to any outside datasource. I basically have a dataset with data in it and I want it to appear on the reportviewer.
Thanks, again!
Upvotes: 3
Views: 4525
Reputation: 4848
This was exactly what I was looking for here:
Setting the datasource for a Report at runtime
Hopefully, this will help someone else.
Upvotes: 2