%@ LANGUAGE="VBSCRIPT" %> <%Response.Buffer=TRUE%> <% Set adoCon = Server.CreateObject("ADODB.Connection") 'src = Server.MapPath("db/site.mdb") src = ("d:\hosting\cardinaldist\access_db\site.mdb") sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & src adoCon.Open sConnStr 'Set an active connection to the Connection object using DSN 'adoCon.Open "DSN=ASPLOGIN" %> <% 'Create an ADO recordset object Set rsSiteName = Server.CreateObject("ADODB.Recordset") 'Initialise the strSQL variable with an SQL statement to query the database strSQL = "SELECT sitename FROM tblAdmin" 'Open the recordset with the SQL query rsSiteName.Open strSQL, adoCon Response.Write ("
|
<% If Request.querystring("mode") = "suspend" then Response.Write (" ") End If If Request.querystring("mode") = "once" then Response.Write (" ") End If If Request.querystring("mode") = "invalid" then Response.Write (" ") End If %> |
||||||||||
| Customized by Cardinal District |
| Copyright © 2004 Todd Woolums |