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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:14:52+00:00 2026-05-11T16:14:52+00:00

We have a winform application that needs to display some results calculated on the

  • 0

We have a winform application that needs to display some results calculated on the DB that exists on a server.

In the current solution, we have a VPN connection that connects us to the server database, we query the data from the server DB using a normal SQLConnection . We get the data, then we do the calculation at the client side
For bandwidth utilization, we want the calculation to be done at the server side, and the end result is just sent to the user.

so the client just executes

double[] getResults(tableName t, ColumnName c, Key k)
{ //execute at the server
return results;
}

What is the simplest way to acheive that? Please give me details

thank you

  • 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-11T16:14:52+00:00Added an answer on May 11, 2026 at 4:14 pm

    Well, the least “moving parts” would be to do the processing in TSQL at the db server, but that may not be a good idea (depending on the scenario).

    Assuming you want to do the processing in C#, you should probably host a WCF or asmx (WSE) service in a web-server such as IIS – and add a service reference between your client app and the service. The service does the call to the database and the processing, and returns the double[].

    However, this is quite a bit of infrastructure…

    You can also host WCF in a windows service (or even a console exe), which might make life easier (no IIS).

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

Sidebar

Related Questions

I have a c# winform application that uses SQL 2005 Express. The application creates
I have developed an application that pulls X amount of records from my database
I'm developing a WinForms application in C#. I have limited experience in GUI programming,
I have many libraries that are built using .Net 2.0 and 3.5 I now
I have a web service and multiple clients that will use it. A MVC
In my application I am using a timer to check for updates in an
In a typical winform program.cs contains the entry point: static void Main(string[] args) {
I'd like to open a new email page, in Lotus Notes (I know I
For the last two to three months iv'e been dipping and diving in and
I'm in the process of writing a set of documents to help other developers

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.