Click to See Complete Forum and Search --> : Removing a DataSet from a RDLC report


sylvainboisse@hotmail.com
November 27th, 2008, 05:17 PM
I am having a problem with my RDLC report where I need to provide it some DataSets in order to render it without getting exceptions. The problem is those data sets do not exist anymore, and actually the report do not even use it anymore for any of its fields. I don't know how to remove a Dataset from the report after is has been added. The UI does not display his option anywhere.

So even if the dataSet is no longer used by the report, when rendering it it raises an exception complaning about missing datasets.

How can I remove the dataSet reference from the report? It would be really great if I could avoid having to recreate the report from scratch to get rid of those data sets.

Thanks

sylvainboisse@hotmail.com
November 27th, 2008, 05:24 PM
Nevermind I found it in the menu Report->DataSources, and then select Remove.

dubeyniraj2010
August 21st, 2011, 12:04 PM
right click on the report in solution explorer,
click on view code,
in the displayed XML search dataset section and here you can edit your dataset, can add columns, remove columns, or can add/remove the whole dataset.