CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006

    Removing a DataSet from a RDLC report

    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.

    Last edited by sylvainboisse@hotmail.com; November 27th, 2008 at 05:19 PM.

  2. #2
    Join Date
    Aug 2006

    Re: Removing a DataSet from a RDLC report

    Nevermind I found it in the menu Report->DataSources, and then select Remove.

  3. #3
    Join Date
    Aug 2011

    Smile Re: Removing a DataSet from a RDLC report

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)