[VB.NET/SQL] Connecting VB.NET via internet to SQL

Joined
Sep 5, 2005
Messages
391
Reaction score
0
Anyone got any idea how to connect a VB.net proggy to a SQL database.

so far iv got this.

Dim Connection as New SqlConnection("Intial Cataloge=Mir2; User ID=sa; Password=*****; Host=(local); Network Address=***.***.***.***;")

Now that works if the proggy is on the same pc as the sql DB. but wont work across the net... even if its on the same network.

Thanks in advance
 
Re: Connecting VB.NET via internet to SQL

I'm pretty sure that yo can't but idk... if anytone can prove me wrong i'll stand corrected
 
Back