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 351089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:36:40+00:00 2026-05-12T11:36:40+00:00

i am trying to create a report from a row of data with about

  • 0

i am trying to create a report from a row of data with about 60 columns. The workflow is as follows.

1] user selects the fields they want to view in the report from within c#
2] c# calls a sp in sql and passes the fields (expecting between 1 and 5 fields per report)
3] ssrs displays these fields on a pie chart in reporting services.

My questions are,

1] can i pass an array of fields through to sql in one parameter? or do i have to set up 60 parameters to the report and pass them all through even if only a few are required.

2] how can i programatically add only the selected fields to the pie chart and have it created at runtime? my experience has always been you have to build the report prior to deployment.

Thanks!

  • 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-12T11:36:40+00:00Added an answer on May 12, 2026 at 11:36 am

    Take a look at these threads :

    1. Passing an array of parameters to a stored procedure

    2. Is it possible to send a collection of ID's as a ADO.NET SQL parameter?

    3. Arrays and Lists in SQL Server 2005

    SUMMARY:This article describes a
    number of different ways to do this,
    both good and bad. I first give a
    background to the problem (including a
    quick, if the not the best, solution).
    I then give a brief overview over the
    methods.

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

Sidebar

Related Questions

I am trying to create a report and there are five fields in the
I am trying to create a report in SSRS2000 that will query an ORACLE
I am trying to create a report that has a summary for each group.
Trying to create a user account in a test. But getting a Object reference
I'm trying to create a report that displays for each months of the year
I'm trying to create a .resx file from a dictionary of strings. Luckily the
I am trying to create java objects from xml file. I am using jaxb(unmarshalling)
Trying to create a report for our support ticketing system and I'm trying to
I'm trying to create an inventory summary report for my inventory database and I'm
I am trying to create some reports, and I want to show the headers

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.