This may appear a newbie question but forgive me I am new to the world of dot Net.
I have to make a desktop application that connects to a local SQL Server database. However in some cases the same database will be running on a server which can be accessed via the internet.
What is the best way to design such a program. Basically the program is a collection of data entry forms, I was thinking of making every query as a webservice to fetch data from the server and then post it back as a webservice. But is there a better way to tackle such a problem ? I want to use the same program in both cases, just make a change in a config file to tell the program to use local database or the database on the remote server. Since I am new I dont know how to architect the program. I've heard a bit about ADO.Net data services ? is that the best way to go around this problem and where will LLB Gen pro fit in??
Thank you for your help