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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:26:01+00:00 2026-05-29T16:26:01+00:00

The SSRS report in question is a client report file (.rdlc) and is created

  • 0

The SSRS report in question is a client report file (.rdlc) and is created by 1) Querying the database and applying the returned populated System.Data.DataTable object to the report; 2) Calling the Export method on the report object in-order to create a final PDF file.

Problem: The query sorts the data in one way, and the report sorts it in another!

I know that an SSRS report does not support sorting, as that’s up to
the query, hence my confusion!

I have used debug breaks to view the correctly sorted DataTable turn into an incorrectly sorted PDF. (Aaarrgghh)

The report simply lists products, their stock quantities, and their category e.g. Red Wine, White Wine, etc.

… and interestingly the PDF is sorted in what appears to be alphabetical order based on the first alphanumeric column of data, which is the third physical column called “Category”.

I am using C#.NET 4 and Visual Studio 2010.

  • 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-29T16:26:03+00:00Added an answer on May 29, 2026 at 4:26 pm

    Your problem is your belief that “an SSRS report does not support sorting” – simply not true. You can sort data within the report. This is done through the properties of the Table, not with the Dataset properties as one might think.

    Click anywhere on the table, right-click the top-left box and select Properties. This will display the properties for the entire table with the fourth tab being “Sorting”. You should find that this section has been filled in for your report.

    If this section is not filled in, then the output will be in the order of the results of the query for the dataset. However, it can be overridden using the table properties so that the one query can support different reports with different sorting and grouping.

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

Sidebar

Related Questions

My SSRS report fetches data from my DATAWAREHOUSE. The ASP.NET application I have is
I have an SSRS report where I need to collapse data into a summary
I have SSRS report with its own datasets coming straight from the database. I
I have created a one-time subscription in SSRS report manager 2008. However I keep
I have a report in ssrs 2008 r2.I have created two multi-valued parameter on
SSRS newbie question here... I have a table where one column is varbinary(max) data.
I'm trying to ahange data sources of multiple SSRS Report with Powershell to one
I'm back with another SSRS question :-) I'm dealing with survey data. I have
I am working on SSRS report. Here is the cs file code: new protected
we have created a SSRS report with a big chart that have multiple entries

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.