![]() |
#2
yms1232010-02-08 14:00
|
<%
dim ms
ms=request.form("bianhao1")-1
'response.write ms
'response.End
Set rs = Server.CreateObject("ADODB.Recordset")
SQL="select * from kp where bh1="&ms&""
rs.open sql,Conn,1,3
if rs.eof or rs.bof then
response.write("无任何数据")
end if
if ms=0 then
response.write "<script>alert(ms);window.location.href='kpcxy.asp'</script>"
response.End
end if
%>
ms有输出值。
[ 本帖最后由 yuchangyu 于 2010-2-8 13:32 编辑 ]