|
|
|
|
|
| | |
| |
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: connecting database to website |
|
From: |
Jijo |
|
Date: |
9/19/2000 8:48:07 AM |
|
IP: |
202.142.66.234 |
hi..
you can try this..ok
ScriptName = Request.ServerVariables("SCRIPT_NAME")
tmpScriptName = Mid(ScriptName,2)
intPos = Instr(tmpScriptName,"/")
VirtualDir = Left(tmpScriptName, intPos - 1)
AbsolutePath = Server.MapPath ("/" & infosys\site)
DBQValue = "DBQ=" & AbsolutePath & "\customer.mdb"
Session("DataConn_ConnectionString") = _
"DRIVER=Microsoft Access Driver (*.mdb);" & _DBQValue |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|