第 1 行: '=' 附近有语法错误, 第 16 行
%ifrequest.form("test_student")<>""thenid=request.querystring("id")students=split(req...
%
if request.form("test_student")<>"" then
id=request.querystring("id")
students=split(request.form("test_student"),",")
students_flag=split(request.form("test_student"),",")
no=ubound(students)
set test_student=server.createobject("adodb.recordset")
test_student_sql="select studentnumber,examinationid from examination where examinationid="&request("id")&""
test_student.open test_student_sql,conn,1,3
while not test_student.eof
flag=0
for i=0 to no
if students(i)=test_student("studentnumber") then
flag=1
students(i)=-1
end if
next
if flag=0 then test_student.delete
test_student.movenext
wend
for i=0 to no
if students(i)<>-1 then
test_student.addnew
test_student("examinationid")=id
test_student("studentnumber")=trim(students(i))
test_student.update
end if
next
test_student.close
set test_student=nothing
end if
%>
第16行:test_student.open test_student_sql,conn,1,3
大侠帮帮忙!急用啊!
不行啊,类型不匹配cint 展开
if request.form("test_student")<>"" then
id=request.querystring("id")
students=split(request.form("test_student"),",")
students_flag=split(request.form("test_student"),",")
no=ubound(students)
set test_student=server.createobject("adodb.recordset")
test_student_sql="select studentnumber,examinationid from examination where examinationid="&request("id")&""
test_student.open test_student_sql,conn,1,3
while not test_student.eof
flag=0
for i=0 to no
if students(i)=test_student("studentnumber") then
flag=1
students(i)=-1
end if
next
if flag=0 then test_student.delete
test_student.movenext
wend
for i=0 to no
if students(i)<>-1 then
test_student.addnew
test_student("examinationid")=id
test_student("studentnumber")=trim(students(i))
test_student.update
end if
next
test_student.close
set test_student=nothing
end if
%>
第16行:test_student.open test_student_sql,conn,1,3
大侠帮帮忙!急用啊!
不行啊,类型不匹配cint 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询