Connect to SQl Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a been asked to create an app for a company that can do the following.

1. Link remotely to an SQL server database
2. Query the data to return a result.

What is the easiest way to connect to a database over the internet?

Thanks for any help.

Stephen
 
If you are doing this from a mobile device i don't think you have many
options other than to use a web service. MSDN has plenty of examples.
 
A SqlCeConnection is probably the easiest by far, but unless you have rock
solid connectivity (rare in a device) then it's probably not too useful.
RDA and replication are both options as well that work well but take a bit
more configuring. Of course there is always the web service option too.

-Chris
 
Back
Top