Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_database_setup thread: Re: Connecting Database to the Internet


Message #1 by "Sanna Korpela" <sanna.m.korpela@l...> on Wed, 20 Jun 2001 11:46:28
I'm just a beginner with ASP and Databases but I try to help you to start.

What kind of database do you have? SQL,Access,...? Is your database maybe 

in local network or is it in internet? 



You have to open connection to the database in ASP-page.

<%set con=Server.CreateObject("ADODB.Connection")%>

<%con.open "connectionstring"%>



Connectionsstring consists of the name of the database, the place where 

you hold it, maybe a password etc. Ask from your serveradministrator.

If your database is local, you might just need the name of the database.



Maybe you get to start with theese tips. this book "Beginning ASP 

Databases" has helped me. Check there for more info.



Good luck,

Sanna



> Hi there how doing?

> I get a problem of connecting my Database to the

> Internet.How should I do this?

> Thanks

> Emmanuel Butoto.


  Return to Index