Connecting Tech Pros Worldwide Forums | Help | Site Map

how to connect to remote database?

Newbie
 
Join Date: Oct 2009
Posts: 2
#1: 2 Weeks Ago
Hello Experts,
I am having a small problem with my VB.NET and VC#.net programs

WHAT AM I DOING ?
-----------------------
I am creating a spider program in VB.NET which parses a URL and stores data in my database. The list of URL to be parsed are included in my database.

WHAT I NEED TO DO?
------------------------
Right now the program is working fine as I am using a local database lying on my hard drive, but I want to use database lying on a remote server (ex. http://www.mysite.com/db/database.mdb).
How do I do that in VB.NET application?

Thanks

MrMancunian's Avatar
Expert
 
Join Date: Jul 2008
Location: Utrecht, The Netherlands
Posts: 283
#2: 1 Week Ago

re: how to connect to remote database?


You can change the ConnectionString of your connection to point to the remote database. There's not much to it...Just make sure you have the R/W-rights on the remote database. I'm not quite sure if you can manage it through HTTP though...

Steven
Reply