问个asp修改时间字段值的问题
<%if request("no")="modi" then
newsid=request("newsid")
title=request("title")
time=cstr(request("time"))
zuozhe=request("zuozhe")
come=request("come")
BigClassName=request("BigClassName")
SmallClassName=request("SmallClassName")
content=request("content")
set rs=server.createobject("adodb.recordset")
sql="select * from NEWS where id="&newsid
rs.open sql,conn,1,3
rs("title")=title
rs("content")=content
rs("zuozhe")=zuozhe
rs("time")=cdate(time)
rs("come")=come
rs("BigClassName")=BigClassName
rs("SmallClassName")=SmallClassName
rs.update
rs.close
set rs=nothing
response.write "<script language='javascript'>" & chr(13)
response.write "alert('文章修改成功!');" & Chr(13)
response.write "window.document.location.href='editnews.asp';"&Chr(13)
response.write "</script>" & Chr(13)
Response.End
end if%>
<tr>
<td height="24" align="right" >
修改时间:</td>
<td height="24" align="right" >
<p align="left">
<input name="time" type="text" class="input" value="<%=rso("time")%>" size="30"></td>
</tr>
错误类型:
Microsoft VBScript 运行时错误 (0x800A01F5)
非法赋值: 'time'
/sfj/wz/admin/admin_infomodi.asp, 第 11 行