请教高手们,是什么问题呀
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>k52数据监控</title>
</head>
<!--#include file="conn.asp"-->
<%
dim jd,wd
Set rs=Server.CreateObject("ADODB.Recordset")
rs.open "select jd,wd from [gp] where chexing='k52'",conn,1,1 '1,1为只读,1,3为可操作
do while not rs.eof '循环开始
response.Cookies("jd")= rs("jd")
response.Cookies("wd")= rs("wd")
'显示数据
rs.movenext '循环下一条数据
loop
rs.close '关闭rs记录
set rs=nothing '清除rs记录集
%>
<body bgcolor="#CCFFFF">
<table align="right">
<tr>
<td align="center" width="400" height="320" background="e:\我的文件/k52t.jpg">
</td>
</tr>
</table>
<script language="JavaScript">
function myrefresh()
{
window.location.reload();
}
setTimeout('myrefresh()',5000); //指定5000毫秒页面刷新一次
</script>
<form name="cdata" method="post" action="" >
<table align="left" width="400" >
<tr align="center">
<td width="100%">
<div align="center">车辆运行参数</div></td>
</tr>
<tr>
<td width="166" align="center" >车 型:</td>
<td align="right"><input type="text" name="cx" align="right" > </td>
</tr>
<tr>
<td width="166" align="center">经 度:</td>
<td><input type="text" name="jd" id="jd" align="right" maxlength="8" value="<%=response.Cookies("jd")%>" /></td>
</tr>
<tr>
<td width="166" align="center">纬 度:</td>
<td><input type="text" name="wd" align="right" /> </td>
</tr>
<tr>
<td width="166" align="center">行驶速度:</td>
<td><input type="text" name="xssd" align="right" /> </td>
</tr>
<tr>
<td width="166" align="center">转 矩:</td>
<td><input type="text" name="zj" align="right" /> </td>
</tr>
<tr>
<td width="166" align="center">加 速 度:</td>
<td><input type="text" name="jsd" align="right" /> </td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td align="center" width="100%">车辆电池参数信息</td>
</tr>
<tr>
<td align="center" width="166">电 压:</td>
<td><input type="text" name="dy" align="right" /></td>
</tr>
<tr>
<td align="center" width="166">电 流:</td>
<td ><input type="text" name="dl" align="right" /></td>
</tr>
<tr>
<td align="center" width="166">剩余电量:</td>
<td><input type="text" name="sydl" align="right" /></td>
</tr>
</table>
</form>
</body>
</html>
运行结果
技术信息(用于支持人员)
错误类型:
Response 对象, ASP 0185 (0x80020003)
找不到对象的默认属性。
/k52.asp
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)