|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/highlandlabs/cqi-bin/ALFA_DATA/alfasymlink/root/domains/howardbender2/jobstest/ |
Upload File : |
<%@ Language=VBScript %>
<%
Option Explicit
%>
<!--#include file=DataStore.asp-->
<%
Dim sUserID
Dim iSchoolID
sUserID = Request("userid")
iSchoolID = Request("schoolid")
'User ID and School ID must be provided through http header
if sUserID = "" or Not IsNumeric(iSchoolID) then Response.Redirect "default.asp"
Dim cmSchools
Set cmSchools = Server.CreateObject("ADODB.Command")
With cmSchools
.ActiveConnection = "Provider=MSDASQL;" & _
"Driver={Microsoft Access Driver (*.mdb)};" & _
"DBQ=C:\My Documents\Visual Studio Projects\SchoolJobs\DataStore\jobs.mdb"
.CommandText = "DELETE FROM SCHOOL WHERE schoolid = " & iSchoolID
'call execute method to delete record
.Execute
End With
Set cmSchools = Nothing
Response.Redirect "schlist.asp?userid=" & sUserID
%>