View Single Post
  #41 (permalink)  
Old June 11th, 2004, 11:34 AM
morpheus morpheus is offline
Friend of Wrox
 
Join Date: Aug 2003
Location: Halifax, Nova Scotia, Canada.
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's the thing that I don't understand, whoever set up the website before me does not use the connection string like you guys us it, like the one above. All I see everywhere through the code are statments like this one:

SQLStr="SELECT * FROM Table"
Set RS=Server.CreateObject("ADODB.Recordset")
RS.Open SQLStr,Application("DBConn"),1,2,&H0001

So when you say connection string, ^^this is what I think of:(
So would there be a logical place where the database is connected to using the way you showed me? Or can the site be run by just using the above code? From what I understand, you would use the Connection string that you posted, on the top of every page that needs to connect to the database.

Thanks again for your help :)

-----------------------------------------------------------
"Don't follow someone who's not going anywhere" John Mason
Reply With Quote