Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3945788
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:03:24+00:00 2026-05-20T01:03:24+00:00

im rendering locally, i placed the dataset into the dataaccess tier of my solution.

  • 0

im rendering locally, i placed the dataset into the dataaccess tier of my solution. how can I access it from RDLC?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:03:24+00:00Added an answer on May 20, 2026 at 1:03 am

    While I am not sure how to answer your question directly, I ran into the same problem myself and here was my solution:

    In C# I just acessed the report locally and overrid the datasource with whatever data I wanted to provide:

        using (var report = new LocalReport())
        {
            report.ReportPath = @"C:\Sample.rdlc";
            report.DataSources.Clear();
            report.DataSources.Add(new ReportDataSource("MyDataSet", yourDataSet));
            var bytes = report.Render("PDF");
        }
    

    Then in the XML of the RDLC file, I just specified a dummy data source and then manually set the values of my own dataset:

      <DataSources>
        <DataSource Name="Dummy">
          <DataSourceReference>Dummy</DataSourceReference>
          <rd:DataSourceID>bd7d6037-aff5-4ce5-a156-a75f8c1e660b</rd:DataSourceID>
        </DataSource>
      </DataSources>
      <DataSets>
        <DataSet Name="MyDataSet">
          <Fields>
            <Field Name="Name">
              <DataField>Name</DataField>
              <rd:TypeName>System.String</rd:TypeName>
            </Field>
            <Field Name="Amount">
              <DataField>Amount</DataField>
              <rd:TypeName>System.Decimal</rd:TypeName>
            </Field>
          </Fields>
          <Query>
            <DataSourceName>Dummy</DataSourceName>
            <CommandText />
          </Query>
        </DataSet>
      </DataSets>
    

    This has worked great for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Rendering a 3D-map from an Openstreetmap data can be pretty cumbersome . But what
I am rendering HTML locally in an iPad app using jQuery Mobile. The titles
I am rendering my div with a javascript from the server side code. The
Before rendering into a view model should be formatted: multilingual data localized; date, time
Rendering data from database to_json works well def getOrderDetails #To get the details of
I have a sinatra app running locally and awhile back I ran into an
When rendering text into a bitmap, I find that text looks very bad when
While rendering the view page, based on some condition in the controller action I
What underlying rendering system does the Qt GUI toolkit use on Windows? (I'm assuming
MRT allows for rendering to multiple texture targets in the pixel shader, but I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.