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

  • Home
  • SEARCH
  • 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 6147815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:10:11+00:00 2026-05-23T19:10:11+00:00

I am developing an app using c# and sql server 2008 to automate a

  • 0

I am developing an app using c# and sql server 2008 to automate a sport club, and i almost done.
Now i am making reports for my app by creating stored procedure in sql server that returns the data fro c# app after passing some parameters, and the result of report like grouping, number of fields returned are changed depending on the sent parameters.
My question is better to do the grouping in sql server and return the last result and show it in c# report or get the data without grouping or sorting and do it in c# report you know in c# reports you can make groups and chose what fields to group by

Thanks in advance.

  • 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-23T19:10:12+00:00Added an answer on May 23, 2026 at 7:10 pm

    It depends. If LINQ is an option (meaning you are using the entity framework or aren’t using stored procedures), then you can programmatically change the group by in your C# code while still performing the grouping on the server.

    If you cannot use LINQ/Entity model but your group by could change dynamically, perform the grouping at the application level so you can group the data however you need based on user parameters without using a billion different query options.

    Otherwise, perform it on the server because that reduces bandwidth consumption, is faster in terms of transfer time, and is faster in general because SQL (and general database) grouping is much faster than what you would be doing in C#.

    Here are links of interest:

    • ADO.NET Entity Framework
    • LINQ on .NET Framework Development Center
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a web app and currently using sql server 2008 for it. But,
I'm developing an ASP.NET app (C#) that connect to SQL Server 2008 using ADO.NET
I am using SQL Server 2008 Enterprise with VSTS 2008, and I am developing
I'm in the unfortunate situation of developing an app using SQL Server 2005 in
I've been developing an asp.net web app using VS studio. I'm using SQL Server
I'm developing an ASP.NET 2.0 app using Visual Studio 2008. If I want to
I'm currently developing a C# app with an SQL Server DB back-end. I'm approaching
I am developing a winforms application using .NET 2.0 and Sql Server 2005. I
I'm developing application WinForms .net 4.0 using C# and the backend is SQL Server
I've been developing a winforms app tied to sql server. I haven't rebooted in

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.