Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Unable to refresh dataset in (rdlc) report

Unable to refresh dataset in (rdlc) report

Scheduled Pinned Locked Moved C#
databasequestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Crapaw45
    wrote on last edited by
    #1

    I'm using a stored procedure (proc) for the SqlDataSource1 of my local report (rdlc). I've changed my proc to include an additional field. When I try to edit my local report to add the new field, it does not show up in the dataset or fields under the expression buider. How do I get the dataset to recognize my new field. :~

    A 1 Reply Last reply
    0
    • C Crapaw45

      I'm using a stored procedure (proc) for the SqlDataSource1 of my local report (rdlc). I've changed my proc to include an additional field. When I try to edit my local report to add the new field, it does not show up in the dataset or fields under the expression buider. How do I get the dataset to recognize my new field. :~

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Yes.. this is really a problem with rdlc console. I think you need to clear the existing dataset from the report to continue. Right click on rdlc report -> Open With Xml Editor After you open find <Dataset> and remove its content. Now open the report, add any field to the report, your dataset will be added again with all the fields. (You can also update the report xml with your new field) Note: Before you do, backup your existing dataset to avoid corrupt of the report. :rose:

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Simplify Code Using NDepend
      Basics of Bing Search API using .NET
      Microsoft Bing MAP using Javascript

      C 1 Reply Last reply
      0
      • A Abhishek Sur

        Yes.. this is really a problem with rdlc console. I think you need to clear the existing dataset from the report to continue. Right click on rdlc report -> Open With Xml Editor After you open find <Dataset> and remove its content. Now open the report, add any field to the report, your dataset will be added again with all the fields. (You can also update the report xml with your new field) Note: Before you do, backup your existing dataset to avoid corrupt of the report. :rose:

        Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


        My Latest Articles-->** Simplify Code Using NDepend
        Basics of Bing Search API using .NET
        Microsoft Bing MAP using Javascript

        C Offline
        C Offline
        Crapaw45
        wrote on last edited by
        #3

        I edited the xml, which solved the problem. Your the best. Thank You very much. :thumbsup:

        A 1 Reply Last reply
        0
        • C Crapaw45

          I edited the xml, which solved the problem. Your the best. Thank You very much. :thumbsup:

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          Thank you so much... Cheers. :thumbsup:

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Simplify Code Using NDepend
          Basics of Bing Search API using .NET
          Microsoft Bing MAP using Javascript

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups