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 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 an c# winform application that runs under a local account but needs
I have a winform application that controls some transmitters and sound cards. There is
I have a WinForms application written in C# for .NET 3.5 that needs to
We have an in house winform application that is used by about 20 users
I have an application (winform exe) that I run several times. Does this mean
We have a WinForms application that uses SQL server to store its data. To
I have a Winforms application that schedules some work using a service. The service
I have a WinForms application that requires some configuration which I do at install
I have a winform application that i embeded a webrowser control. I load an
Hi, I have a WCF service in IIS7 that communicates with a winform application

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.