<!--#include file="conn.asp"-->
<%
idt=request("id")
heading=request.form("heading")
shijian=request.form("time1")
text=request.form("text")
%>
<%If heading="" then%>
<script>
alert("标题 不能为空 !");
location.href="newREN.asp";
</script>
<%else%>
<%If shijian="" then%>
<script>
alert("时间 不能为空 !");
location.href="newREN.asp";
</script>
<%else%>
<%
conn.execute("update culture set heading='"& heading &"',time='"&shijian&"',text='"&text&"' where id like '"&idt&"'")
%>
<script>
alert("更新成功!");
location.href="new.asp";
</script>
<%End if%>
<%End if%>
麻烦各位大虾!这是更新的程序.可是执行时conn.execute("update culture set heading='"& heading &"',time='"&shijian&"',text='"&text&"' where id like '"&idt&"'")
错误..可是我不知道问题出在哪里.麻烦帮我纠正下.