How a client and server can talk??
-
Hi, I am developing a Windows app that needs to talk to a server, to retrieve some information. The server will run SQL Server, which I need to query, presumably through a stored procedure. How do you recommend I talk to the server, directly from the client application? It is slightly difficult, because its a client application, and not a web application that would have a backend on the server. All I need to do is say "Hello server, give me the number at x in table y." I'm presuming a 'web service', but is there possibly an easier way through IIS, somehow? Or maybe a Windows Service? Regards, Cormac Redmond
-
Hi, I am developing a Windows app that needs to talk to a server, to retrieve some information. The server will run SQL Server, which I need to query, presumably through a stored procedure. How do you recommend I talk to the server, directly from the client application? It is slightly difficult, because its a client application, and not a web application that would have a backend on the server. All I need to do is say "Hello server, give me the number at x in table y." I'm presuming a 'web service', but is there possibly an easier way through IIS, somehow? Or maybe a Windows Service? Regards, Cormac Redmond
Gove the IP address of the SQLServer in your connection string and query it as usual.... or have I misunderstood your problem? Fred