很简单的一个更新 我做了3个小时 没找到错地方在哪
<!--#include file="Conn010.asp"--><!--#include file="Admin.asp"-->
<%
id1=request("id")
if id1<>"" then
set rs=Server.CreateObject("adodb.recordset")
'sql="update info2 set qddate='"&now()&"' where id='"&id1
'Conn.Execute(sql)
sql="select * from info2 where id='"&id1
rs.open sql,conn,1,3
rs("qddate")=now()
rs.update
response.write "<script language='javascript'>"
response.write "alert('签到成功!');"
response.write "javascript:window.history.go(-1);"
response.write "</script>"
else
response.write "<script language='javascript'>"
response.write "alert('出现错误!');"
response.write "javascript:window.history.go(-1);"
response.write "</script>"
response.end
end if
%>
请帮忙 谢谢。