<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/test.asp" -->
<!--#include file="validate.asp" -->
<%
var test;
test=Server.CreateObject("ADODB.Connection");
test.Open(MM_test_STRING);
var theid,testString;
theid=Cint(Trim(Request.QueryString("id")));
testString="delete from feedback where id="& theid;
test.Execute(testString);
test.close();
test=nothing;
Response.Redirect("10.1.asp");
%>
上面代码运行结果:
HTTP 错误 500.100 - 内部服务器错误 - ASP 错误
Internet 信息服务
说是theid=Cint(Trim(Request.QueryString("id")));这行有出错,为什么,怎么解决?请高手帮一下忙!
--------------------------------------------------------------------------------
技术信息(用于支持人员)
错误类型:
Microsoft JScript runtime (0x800A138F)
Object expected
--
FROM 202.103.241.*