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
    Posts
    20

    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.

    Thanks
    Last edited by sylvainboisse@hotmail.com; November 27th, 2008 at 06:19 PM.
    -Sylvain

  2. #2
    Join Date
    Aug 2006
    Posts
    20

    Re: Removing a DataSet from a RDLC report

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

  3. #3
    Join Date
    Aug 2011
    Posts
    1

    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
  •  





Click Here to Expand Forum to Full Width

Featured