|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program 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
|
|
|
|
|
|
|
|
|
|
|
|