Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > ADO coding for ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4189 of 4320
Post > Topic >>

ADO coding for web

by =?Utf-8?B?Qm9iIE11bGxlbg==?= <BobMullen@[EMAIL PROTECTED] Mar 21, 2008 at 02:25 PM

I manage a website that makes use of several Access databases to generate 
dynamic content. I would like to ensure that my code approach does not 
produce inefficiencies.

I use the same code in multiple asp pages to open data connections (that
is 
the same variable names, although the connection could be to a different 
database). 

My common code:

Set conn = server.createobject("adodb.connection")
DSNtemp="DRIVER={Microsoft Access Driver (*.mdb)}; "
DSNtemp=dsntemp & "DBQ=" & server.mappath("/database/kassaa.mdb")
conn.mode = 3 ' adModeReadWrite 
conn.Open DSNtemp

Could this present a problem?

Thanks in advance.

Bob Mullen
 




 1 Posts in Topic:
ADO coding for web
=?Utf-8?B?Qm9iIE11bGxlbg=  2008-03-21 14:25:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:19:41 CST 2008.